fix: styles

This commit is contained in:
Koosha Lahouti
2025-08-12 02:48:58 +03:30
parent 09e4dfa917
commit a782043767
11 changed files with 352 additions and 595 deletions

View File

@@ -5,13 +5,30 @@ export function SubmitSection() {
const { t } = useTranslation('completionForm');
return (
<Box sx={{ display: 'flex', gap: 2, px: 6, mb: '17px' }}>
<Box
sx={{
display: 'flex',
flexDirection: { xs: 'column', sm: 'row' },
alignItems: { xs: 'stretch', sm: 'center' },
gap: 2,
px: { xs: 2, sm: 4, md: 6 },
mb: '17px',
}}
>
<Typography variant="body2" sx={{ flex: 1 }} color="text.primary">
{t('completion.agreementPart1')}
<Link target="_blank">{t('completion.agreementLinkText')}</Link>{' '}
<Link target="_blank" rel="noopener" href="#">
{t('completion.agreementLinkText')}
</Link>{' '}
{t('completion.agreementPart2')}
</Typography>
<Button variant="contained" sx={{ width: '247px' }}>
<Button
variant="contained"
sx={{
width: { xs: '100%', sm: '247px' },
alignSelf: { xs: 'stretch', sm: 'auto' },
}}
>
{t('completion.registerButton')}
</Button>
</Box>