Changing card actions to grid
This commit is contained in:
@@ -170,8 +170,9 @@ const EventList: React.FC = () => {
|
||||
)}
|
||||
</CardContent>
|
||||
<CardActions sx={{ justifyContent: 'space-between', px: 3, pb: 2 }}>
|
||||
<Stack direction="row" spacing={1} flexWrap="wrap" alignItems="flex-start">
|
||||
<Grid container spacing={1} alignItems="flex-start">
|
||||
{isEventOpen(event) && (
|
||||
<Grid item>
|
||||
<Button
|
||||
size="small"
|
||||
startIcon={<HowToRegIcon />}
|
||||
@@ -179,7 +180,9 @@ const EventList: React.FC = () => {
|
||||
>
|
||||
Submit RSVP
|
||||
</Button>
|
||||
</Grid>
|
||||
)}
|
||||
<Grid item>
|
||||
<Button
|
||||
size="small"
|
||||
startIcon={<VisibilityIcon />}
|
||||
@@ -187,6 +190,8 @@ const EventList: React.FC = () => {
|
||||
>
|
||||
View RSVPs
|
||||
</Button>
|
||||
</Grid>
|
||||
<Grid item>
|
||||
<Button
|
||||
size="small"
|
||||
startIcon={<ContentCopyIcon />}
|
||||
@@ -194,7 +199,8 @@ const EventList: React.FC = () => {
|
||||
>
|
||||
Copy RSVP Link
|
||||
</Button>
|
||||
</Stack>
|
||||
</Grid>
|
||||
</Grid>
|
||||
<Button
|
||||
size="small"
|
||||
startIcon={<AdminPanelSettingsIcon />}
|
||||
|
||||
Reference in New Issue
Block a user