Update box color to black and fix comma formatting
This commit is contained in:
@@ -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',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user