diff options
author | Michael Hunteman <michael@huntm.net> | 2024-08-16 12:35:16 -0700 |
---|---|---|
committer | Michael Hunteman <michael@huntm.net> | 2024-08-16 12:35:16 -0700 |
commit | 1445eac6cbdb9b6b272052680bfa31a3520f4105 (patch) | |
tree | 28429d9dd69405df8bd293b49e4ca3df1f96f4e6 /client | |
parent | 161483219c2fb5c9b40a8f9fd5fd8177752a7a89 (diff) |
Set dynamic margin for rsvp form
Diffstat (limited to 'client')
-rw-r--r-- | client/src/components/GuestLogin.tsx | 2 | ||||
-rw-r--r-- | client/src/components/RsvpForm.tsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/components/GuestLogin.tsx b/client/src/components/GuestLogin.tsx index c5eae75..32245fc 100644 --- a/client/src/components/GuestLogin.tsx +++ b/client/src/components/GuestLogin.tsx @@ -46,9 +46,9 @@ function GuestLogin() { > <div style={{ + width: '90%', display: 'flex', justifyContent: 'center', - width: '90%', }} > <div diff --git a/client/src/components/RsvpForm.tsx b/client/src/components/RsvpForm.tsx index 47e8215..10c2205 100644 --- a/client/src/components/RsvpForm.tsx +++ b/client/src/components/RsvpForm.tsx @@ -116,7 +116,7 @@ function RsvpForm() { justifyContent: 'center', }} > - <Grid container spacing={2} sx={{ width: 600, mt: 16 }}> + <Grid container spacing={2} sx={{ width: 600, mt: { xs: 8, md: 16 } }}> <Grid item xs={12}> <p> Please RSVP for the wedding by March 10, 2025. The ceremony will |