Commit 507cbd96 authored by Stefan Probst's avatar Stefan Probst
Browse files

fix: fix spacing on signup screen checkbox

parent 8a44738f
Pipeline #179200 passed with stage
in 5 minutes and 17 seconds
......@@ -60,7 +60,7 @@ export function CheckBoxBase(props: CheckBoxBaseProps): JSX.Element {
isDisabled ? 'text-gray-350' : 'text-gray-800',
variant === 'facet' && 'flex-1',
),
text: 'flex-1 inline-flex justify-between',
text: 'flex-1 inline-flex justify-between space-x-1',
}
return (
......
......@@ -154,11 +154,17 @@ function SignUpForm(): JSX.Element {
<FormTextField name="displayName" label="Name" />
<FormTextField type="email" name="email" label="Email" />
<FormCheckBox name="acceptedRegulations">
I have read and understood the{' '}
<Link href={{ pathname: '/privacy-policy' }} passHref>
<Anchor>Privacy policy</Anchor>
</Link>{' '}
and I accept it.
<span>I have read and understood the</span>
<Anchor
href={new URL(
'/privacy-policy',
process.env.NEXT_PUBLIC_SSHOC_BASE_URL,
).toString()}
target="_blank"
>
Privacy policy
</Anchor>
<span>and I accept it.</span>
</FormCheckBox>
<div className="self-end py-2">
<Button
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment