mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-18 05:10:45 +00:00
CE-740 Adjusting grid padding to 20px; overall body padding to 20px, and margin-let to account for resized sidenav
This commit is contained in:
@ -38,11 +38,11 @@ function DashboardLayout({children}: { children: ReactNode }): JSX.Element
|
|||||||
return (
|
return (
|
||||||
<Box
|
<Box
|
||||||
sx={({breakpoints, transitions, functions: {pxToRem}}) => ({
|
sx={({breakpoints, transitions, functions: {pxToRem}}) => ({
|
||||||
p: 3,
|
p: "20px",
|
||||||
position: "relative",
|
position: "relative",
|
||||||
|
|
||||||
[breakpoints.up("xl")]: {
|
[breakpoints.up("xl")]: {
|
||||||
marginLeft: miniSidenav ? pxToRem(120) : pxToRem(274),
|
marginLeft: miniSidenav ? pxToRem(120) : pxToRem(250),
|
||||||
transition: transitions.create(["margin-left", "margin-right"], {
|
transition: transitions.create(["margin-left", "margin-right"], {
|
||||||
easing: transitions.easing.easeInOut,
|
easing: transitions.easing.easeInOut,
|
||||||
duration: transitions.duration.standard,
|
duration: transitions.duration.standard,
|
||||||
|
@ -575,3 +575,10 @@ input[type="search"]::-webkit-search-results-decoration { display: none; }
|
|||||||
scrollbar-width: none; /* Firefox */
|
scrollbar-width: none; /* Firefox */
|
||||||
-ms-overflow-style: none; /* IE 10+ */
|
-ms-overflow-style: none; /* IE 10+ */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* change grid padding to 20px down from default 24px */
|
||||||
|
.MuiGrid-item
|
||||||
|
{
|
||||||
|
padding-left: 20px !important;
|
||||||
|
padding-top: 20px !important;
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user