Skip to content

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

Fix view responsiveness

dominik-zeglen4a4b738eb878
diff --git a/saleor/static/dashboard-next/auth/components/LoginPage/LoginPage.tsx b/saleor/static/dashboard-next/auth/components/LoginPage/LoginPage.tsx
index 77f8400a86..19ed90311a 100644
--- a/saleor/static/dashboard-next/auth/components/LoginPage/LoginPage.tsx
+++ b/saleor/static/dashboard-next/auth/components/LoginPage/LoginPage.tsx
@@ -26,6 +26,11 @@ export interface LoginCardProps {
const decorate = withStyles(theme => ({
card: {
+ [theme.breakpoints.down("xs")]: {
+ boxShadow: "none" as "none",
+ padding: theme.spacing.unit * 4,
+ width: "100%"
+ },
padding: `${theme.spacing.unit * 10.5}px ${theme.spacing.unit * 17}px`,
width: "100%"
},
@@ -56,6 +61,10 @@ const decorate = withStyles(theme => ({
padding: theme.spacing.unit * 1.5
},
root: {
+ [theme.breakpoints.down("xs")]: {
+ background: "#fff",
+ boxShadow: "none" as "none"
+ },
alignItems: "center" as "center",
display: "flex",
height: "100vh"