@samitouri / QOSami-HFS / commits / 8f7dc1b0

fix: admin/accounts: wrong color with light theme

Massimo Melina committed Jan 3, 2025 at 11:57 UTC 8f7dc1b0ec42852bfca507bcb3db26d987d299be
1 file changed +12 -12
admin/src/AccountsPage.ts
+12 -12
@@ -76,19 +76,19 @@ export default function AccountsPage() {
76 return element || h(Grid, { container: true, rowSpacing: 1, columnSpacing: 2, top: 0, flex: '1 1 auto', height: 0 },
77 h(Grid, { item: true, xs: 12, [sideBreakpoint]: 5, lg: 4, xl: 5, ...scrollProps },
78 h(Box, {
79 - display: 'flex',
80 - flexWrap: 'wrap',
81 - gap: 2,
82 - mb: 2,
83 - boxShadow: '0px -8px 4px 10px #111',
84 - sx: {
85 - position: 'sticky',
86 - top: 0,
87 - zIndex: 2,
88 - backgroundColor: 'background.paper',
89 - width: 'fit-content',
90 - },
79 + display: 'flex',
80 + flexWrap: 'wrap',
81 + gap: 2,
82 + mb: 2,
83 + boxShadow: theme => `0px -8px 4px 10px ${theme.palette.background.paper}`,
84 + sx: {
85 + position: 'sticky',
86 + top: 0,
87 + zIndex: 2,
88 + backgroundColor: 'background.paper',
89 + width: 'fit-content',
90 },
91 + },
92 h(MenuButton, {
93 variant: 'contained',
94 startIcon: h(PersonAdd),