Skip to content

Commit 1a53986

Browse files
committed
💄 feat: Update LoginSubmitBox component to include responsive styling
1 parent 5b67476 commit 1a53986

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎src/app/login/SubmitBox.tsx‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,12 @@ export default function LoginSubmitBox({
1818
};
1919

2020
return (
21-
<Box component='form' onSubmit={handleSubmit} noValidate sx={{ mt: 1 }}>
21+
<Box
22+
component='form'
23+
onSubmit={handleSubmit}
24+
noValidate
25+
sx={{ mt: 1, maxWidth: { xs: '75vw', sm: '50vw' }, width: '100%' }}
26+
>
2227
{children}
2328
</Box>
2429
);

0 commit comments

Comments
 (0)