diff --git a/frontend/src/components/EventAdmin.tsx b/frontend/src/components/EventAdmin.tsx index 495f38f..164df17 100644 --- a/frontend/src/components/EventAdmin.tsx +++ b/frontend/src/components/EventAdmin.tsx @@ -435,25 +435,30 @@ const EventAdmin: React.FC = () => { backgroundPosition: 'center', backgroundRepeat: 'no-repeat', backgroundAttachment: 'fixed', - position: 'fixed', - top: 0, - left: 0, - right: 0, - bottom: 0, + position: 'relative', overflowY: 'auto', py: 4, }} > - + {event.title} - Admin - + @@ -461,6 +466,10 @@ const EventAdmin: React.FC = () => { variant="outlined" onClick={handleUpdateInfoClick} startIcon={} + sx={{ + minWidth: 'fit-content', + whiteSpace: 'nowrap' + }} > Update Info @@ -468,6 +477,10 @@ const EventAdmin: React.FC = () => { variant="outlined" startIcon={} onClick={() => setManageItemsDialogOpen(true)} + sx={{ + minWidth: 'fit-content', + whiteSpace: 'nowrap' + }} > Manage Items @@ -476,6 +489,10 @@ const EventAdmin: React.FC = () => { color="error" startIcon={} onClick={() => setDeleteEventDialogOpen(true)} + sx={{ + minWidth: 'fit-content', + whiteSpace: 'nowrap' + }} > Delete Event @@ -504,7 +521,12 @@ const EventAdmin: React.FC = () => { Items Status - + Still Needed: @@ -551,7 +573,12 @@ const EventAdmin: React.FC = () => { RSVPs ({rsvps.length}) - + diff --git a/frontend/src/components/EventView.tsx b/frontend/src/components/EventView.tsx index 17e0220..6159edb 100644 --- a/frontend/src/components/EventView.tsx +++ b/frontend/src/components/EventView.tsx @@ -142,25 +142,30 @@ const EventView: React.FC = () => { backgroundPosition: 'center', backgroundRepeat: 'no-repeat', backgroundAttachment: 'fixed', - position: 'fixed', - top: 0, - left: 0, - right: 0, - bottom: 0, + position: 'relative', overflowY: 'auto', py: 4, }} > - + {event.title} - RSVPs - + @@ -235,7 +240,12 @@ const EventView: React.FC = () => { RSVPs ({rsvps.length}) - +