Separate Client Portal & Dashboard
This commit is contained in:
47
frontend/client-portal/src/theme/overrides/CssBaseline.ts
Normal file
47
frontend/client-portal/src/theme/overrides/CssBaseline.ts
Normal file
@@ -0,0 +1,47 @@
|
||||
import { Theme } from '@mui/material/styles';
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export default function CssBaseline(theme: Theme) {
|
||||
return {
|
||||
MuiCssBaseline: {
|
||||
styleOverrides: {
|
||||
'*': {
|
||||
margin: 0,
|
||||
padding: 0,
|
||||
boxSizing: 'border-box',
|
||||
},
|
||||
html: {
|
||||
width: '100%',
|
||||
height: '100%',
|
||||
WebkitOverflowScrolling: 'touch',
|
||||
},
|
||||
body: {
|
||||
width: '100%',
|
||||
height: '100%',
|
||||
},
|
||||
'#root': {
|
||||
width: '100%',
|
||||
height: '100%',
|
||||
},
|
||||
input: {
|
||||
'&[type=number]': {
|
||||
MozAppearance: 'textfield',
|
||||
'&::-webkit-outer-spin-button': {
|
||||
margin: 0,
|
||||
WebkitAppearance: 'none',
|
||||
},
|
||||
'&::-webkit-inner-spin-button': {
|
||||
margin: 0,
|
||||
WebkitAppearance: 'none',
|
||||
},
|
||||
},
|
||||
},
|
||||
img: {
|
||||
display: 'block',
|
||||
maxWidth: '100%',
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user