diff --git a/src/components/PasswordStrength.tsx b/src/components/PasswordStrength.tsx index eaa8847..9da5158 100644 --- a/src/components/PasswordStrength.tsx +++ b/src/components/PasswordStrength.tsx @@ -49,10 +49,15 @@ export default function PasswordStrength({ value, setValue, setStrength, ...prop return (
- + 7} /> {checks} diff --git a/src/pages/invite/[code].tsx b/src/pages/invite/[code].tsx index 258cd41..e81d0d4 100644 --- a/src/pages/invite/[code].tsx +++ b/src/pages/invite/[code].tsx @@ -1,7 +1,7 @@ import { GetServerSideProps } from 'next'; import prisma from 'lib/prisma'; import { useState } from 'react'; -import { Button, Card, Center, Group, PasswordInput, Stepper, TextInput } from '@mantine/core'; +import { Box, Button, Card, Center, Group, PasswordInput, Stepper, TextInput } from '@mantine/core'; import useFetch from 'hooks/useFetch'; import PasswordStrength from 'components/PasswordStrength'; import { showNotification } from '@mantine/notifications'; @@ -84,7 +84,13 @@ export default function Invite({ code, title }) { {title} - Invite ({code})
- + ({ + backgroundColor: t.colors.dark[6], + borderRadius: t.radius.sm, + })} + p='md' + > 0}> - +
);