Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix styles

dominik-zeglen1e6acc384a72
diff --git a/saleor/static/dashboard-next/components/AppLayout/AppLayout.tsx b/saleor/static/dashboard-next/components/AppLayout/AppLayout.tsx
index ba8e7af6d1..9580093baf 100644
--- a/saleor/static/dashboard-next/components/AppLayout/AppLayout.tsx
+++ b/saleor/static/dashboard-next/components/AppLayout/AppLayout.tsx
@@ -59,6 +59,7 @@ const styles = (theme: Theme) =>
header: {
display: "flex",
height: 40,
+ marginBottom: theme.spacing.unit * 3,
marginTop: theme.spacing.unit * 2
},
hide: {
@@ -75,6 +76,9 @@ const styles = (theme: Theme) =>
marginTop: theme.spacing.unit * 4
},
root: {
+ [theme.breakpoints.down("sm")]: {
+ gridTemplateColumns: "1fr"
+ },
display: "grid",
gridTemplateColumns: `${drawerWidth}px 1fr`
},
@@ -82,6 +86,9 @@ const styles = (theme: Theme) =>
transform: "rotate(180deg)"
},
sideBar: {
+ [theme.breakpoints.down("sm")]: {
+ padding: 0
+ },
background: theme.palette.common.white,
padding: `${theme.spacing.unit * 2}px ${theme.spacing.unit * 4}px`
},
diff --git a/saleor/static/dashboard-next/components/AppLayout/MenuList.tsx b/saleor/static/dashboard-next/components/AppLayout/MenuList.tsx
index 00cccef075..31eeecfa2b 100644
--- a/saleor/static/dashboard-next/components/AppLayout/MenuList.tsx
+++ b/saleor/static/dashboard-next/components/AppLayout/MenuList.tsx
@@ -46,7 +46,7 @@ const styles = (theme: Theme) =>
height: "100%",
left: -32,
position: "absolute",
- width: 2
+ width: 3
},
position: "relative"
},