Merge pull request #731 from ente-io/fix-scrollbar-color
Fix scrollbar color
This commit is contained in:
commit
03fb9a139d
|
@ -3,15 +3,12 @@ import { Box } from '@mui/material';
|
|||
import { styled } from '@mui/material/styles';
|
||||
import VerticallyCentered from 'components/Container';
|
||||
|
||||
export const MappingsContainer = styled(Box)(({ theme }) => ({
|
||||
export const MappingsContainer = styled(Box)(() => ({
|
||||
height: '278px',
|
||||
overflow: 'auto',
|
||||
'&::-webkit-scrollbar': {
|
||||
width: '4px',
|
||||
},
|
||||
'&::-webkit-scrollbar-thumb': {
|
||||
backgroundColor: theme.palette.secondary.main,
|
||||
},
|
||||
}));
|
||||
|
||||
export const NoMappingsContainer = styled(VerticallyCentered)({
|
||||
|
|
|
@ -239,7 +239,7 @@ export default function App({ Component, err }) {
|
|||
</Head>
|
||||
|
||||
<ThemeProvider theme={darkThemeOptions}>
|
||||
<CssBaseline />
|
||||
<CssBaseline enableColorScheme />
|
||||
{showNavbar && <AppNavbar />}
|
||||
<MessageContainer>
|
||||
{offline && constants.OFFLINE_MSG}
|
||||
|
|
Loading…
Reference in a new issue