mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-20 06:10:43 +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 (
|
||||
<Box
|
||||
sx={({breakpoints, transitions, functions: {pxToRem}}) => ({
|
||||
p: 3,
|
||||
p: "20px",
|
||||
position: "relative",
|
||||
|
||||
[breakpoints.up("xl")]: {
|
||||
marginLeft: miniSidenav ? pxToRem(120) : pxToRem(274),
|
||||
marginLeft: miniSidenav ? pxToRem(120) : pxToRem(250),
|
||||
transition: transitions.create(["margin-left", "margin-right"], {
|
||||
easing: transitions.easing.easeInOut,
|
||||
duration: transitions.duration.standard,
|
||||
|
Reference in New Issue
Block a user