summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hunteman <michael@huntm.net>2024-07-07 11:34:10 -0700
committerMichael Hunteman <michael@huntm.net>2024-07-07 11:54:52 -0700
commit34696eaf5fbd0c3152ee92917c23128950ca0fe9 (patch)
tree6ac6d3da00fb51c3b05cbbe9963ef576aded972c
parentca16c7baac82bf103046800447c4cef0293ed287 (diff)
Change RSVP text field sizes
-rw-r--r--client/src/components/RsvpForm.tsx9
1 files changed, 4 insertions, 5 deletions
diff --git a/client/src/components/RsvpForm.tsx b/client/src/components/RsvpForm.tsx
index 8596e29..71ae7d0 100644
--- a/client/src/components/RsvpForm.tsx
+++ b/client/src/components/RsvpForm.tsx
@@ -118,7 +118,7 @@ function RsvpForm() {
</FormControl>
</div>
</Grid>
- <Grid item xs={12} md={6} lg={6}>
+ <Grid item xs={9}>
<TextField
label="Email"
type="email"
@@ -127,7 +127,6 @@ function RsvpForm() {
error={!!errors.email}
helperText={errors.email?.message}
{...register('email', {
- required: 'This field is required',
pattern: {
value: /\S+@\S+\.\S+/,
message: 'Please enter a valid email address',
@@ -135,7 +134,7 @@ function RsvpForm() {
})}
/>
</Grid>
- <Grid item xs={12} md={6} lg={6}>
+ <Grid item xs={3}>
<TextField
label="Party Size"
type="number"
@@ -178,7 +177,7 @@ function RsvpForm() {
rowSpacing={{ xs: 1 }}
key={field.id}
>
- <Grid item xs={12} md={6} lg={6}>
+ <Grid item xs={6}>
<TextField
label="First Name"
variant="outlined"
@@ -191,7 +190,7 @@ function RsvpForm() {
})}
/>
</Grid>
- <Grid item xs={12} md={6} lg={6}>
+ <Grid item xs={6}>
<TextField
label="Last Name"
variant="outlined"