Padding and spacing fixes

This commit is contained in:
Ryderjj89
2025-06-04 17:54:42 -04:00
parent 0c7e12482e
commit 5b7ebafe84
2 changed files with 8 additions and 9 deletions

View File

@@ -170,7 +170,7 @@ const EventList: React.FC = () => {
)} )}
</CardContent> </CardContent>
<CardActions sx={{ justifyContent: 'space-between', px: 3, pb: 2 }}> <CardActions sx={{ justifyContent: 'space-between', px: 3, pb: 2 }}>
<Stack direction="row" spacing={1}> <Stack direction="row" spacing={1} flexWrap="wrap">
{isEventOpen(event) && ( {isEventOpen(event) && (
<Button <Button
size="small" size="small"
@@ -187,6 +187,13 @@ const EventList: React.FC = () => {
> >
View RSVPs View RSVPs
</Button> </Button>
<Button
size="small"
startIcon={<ContentCopyIcon />}
onClick={() => handleCopyLink(event)}
>
Copy RSVP Link
</Button>
</Stack> </Stack>
<Button <Button
size="small" size="small"
@@ -195,13 +202,6 @@ const EventList: React.FC = () => {
> >
Manage Manage
</Button> </Button>
<Button
size="small"
startIcon={<ContentCopyIcon />}
onClick={() => handleCopyLink(event)}
>
Copy RSVP Link
</Button>
</CardActions> </CardActions>
</Card> </Card>
</Grid> </Grid>

View File

@@ -603,7 +603,6 @@ const RSVPForm: React.FC = () => {
}, },
MenuListProps: { MenuListProps: {
sx: { sx: {
paddingBottom: '60px', // Make space for the button
}, },
}, },
}} }}