Merge pull request #731 from ente-io/fix-scrollbar-color

Fix scrollbar color
This commit is contained in:
Manav 2022-10-10 20:13:17 +05:30 committed by GitHub
commit 03fb9a139d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 5 deletions

View file

@ -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)({

View file

@ -239,7 +239,7 @@ export default function App({ Component, err }) {
</Head>
<ThemeProvider theme={darkThemeOptions}>
<CssBaseline />
<CssBaseline enableColorScheme />
{showNavbar && <AppNavbar />}
<MessageContainer>
{offline && constants.OFFLINE_MSG}