Skip to content
Snippets Groups Projects
Commit bb0e370d authored by Tore.Brede's avatar Tore.Brede
Browse files

Removing hr as descendant p warnings

parent 1618fb27
No related branches found
No related tags found
1 merge request!240Removing <hr> as descendant <p> warnings
Pipeline #109528 passed
......@@ -234,10 +234,10 @@ const GuestRegisterStep = forwardRef(
>
{t('guestRegisterWizardText.yourContactInformation')}
</Typography>
<Typography sx={{ paddingBottom: '2rem' }}>
<Typography>
{t('guestRegisterWizardText.contactInformationDescription')}
<Divider sx={{ border: '1px solid' }} />
</Typography>
<Divider sx={{ marginBottom: '2rem', border: '1px solid' }} />
<form onSubmit={onSubmit}>
<Stack spacing={2}>
{/* The name is only editable if it is not coming from some trusted source */}
......@@ -476,13 +476,13 @@ const GuestRegisterStep = forwardRef(
<Typography variant="h5" sx={{ paddingTop: '1rem' }}>
{t('guestRegisterWizardText.identityHeader')}
</Typography>
<Typography sx={{ paddingBottom: '1rem' }}>
<Typography>
<Trans i18nKey="common:guestRegisterWizardText.identityBody">
Enter national identity number if you have one.
<strong>Otherwise</strong> use passport information.
</Trans>
<Divider sx={{ border: '1px solid' }} />
</Typography>
<Divider sx={{ marginBottom: '1rem', border: '1px solid' }} />
{/* The guest should fill in one of national ID number or passport number */}
<Controller
name="nationalIdNumber"
......@@ -575,10 +575,10 @@ const GuestRegisterStep = forwardRef(
<Typography variant="h5" sx={{ paddingTop: '1rem' }}>
{t('guestRegisterWizardText.yourGuestPeriod')}
</Typography>
<Typography sx={{ paddingBottom: '1rem' }}>
<Typography>
{t('guestRegisterWizardText.guestPeriodDescription')}
<Divider sx={{ border: '1px solid' }} />
</Typography>
<Divider sx={{ marginBottom: '1rem', border: '1px solid' }} />
<TextField
id="ou-unit"
value={
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment