Update box color to black and fix comma formatting

This commit is contained in:
Your Name
2025-04-29 18:41:03 -04:00
parent cd97f60cbb
commit 2584c241a5
2 changed files with 5 additions and 5 deletions

View File

@@ -20,7 +20,7 @@ const darkTheme = createTheme({
},
background: {
default: '#121212',
paper: 'rgba(30, 30, 30, 0.7)',
paper: 'rgba(0, 0, 0, 0.7)',
},
},
components: {
@@ -31,7 +31,7 @@ const darkTheme = createTheme({
styleOverrides: {
root: {
backdropFilter: 'blur(10px)',
backgroundColor: 'rgba(30, 30, 30, 0.7) !important',
backgroundColor: 'rgba(0, 0, 0, 0.7) !important',
'& .MuiTableContainer-root, & .MuiTable-root, & .MuiTableCell-root': {
backdropFilter: 'blur(10px)',
backgroundColor: 'transparent !important',
@@ -44,7 +44,7 @@ const darkTheme = createTheme({
root: {
'& .MuiPaper-root': {
backdropFilter: 'blur(10px)',
backgroundColor: 'rgba(30, 30, 30, 0.7) !important',
backgroundColor: 'rgba(0, 0, 0, 0.7) !important',
},
},
},

View File

@@ -201,12 +201,12 @@ const EventAdmin: React.FC = () => {
<TableCell>{rsvp.attending.charAt(0).toUpperCase() + rsvp.attending.slice(1)}</TableCell>
<TableCell>
{rsvp.bringing_guests === 'yes' ?
`${rsvp.guest_count} (${rsvp.guest_names.split(' ').join(', ')})` :
`${rsvp.guest_count} (${rsvp.guest_names.replace(/\s+/g, ', ')})` :
'No'
}
</TableCell>
<TableCell>
{rsvp.items_bringing.split(' ').join(', ')}
{rsvp.items_bringing.split(/[,\s]+/).filter(Boolean).join(', ')}
</TableCell>
<TableCell>
<IconButton