Remove max width container (#4056)

This commit is contained in:
Paweł Chyła 2023-08-03 13:52:28 +02:00 committed by GitHub
parent 440f5e6674
commit 50011f86f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 12 deletions

View file

@ -0,0 +1,5 @@
---
"saleor-dashboard": patch
---
Make Dashboard full width

View file

@ -63,11 +63,7 @@ const AppLayout: React.FC<AppLayoutProps> = ({ children }) => {
visible={isNavigatorVisible} visible={isNavigatorVisible}
setVisibility={setNavigatorVisibility} setVisibility={setNavigatorVisibility}
/> />
<Box <Box display="grid" __gridTemplateColumns="auto 1fr">
display="grid"
__gridTemplateColumns="auto 1fr"
className="big-desktop-max-width"
>
{appState.loading && ( {appState.loading && (
<LinearProgress className={classes.appLoader} color="primary" /> <LinearProgress className={classes.appLoader} color="primary" />
)} )}

View file

@ -62,10 +62,3 @@ body {
height: auto !important; height: auto !important;
} }
} }
@media screen and (min-width: 2048px) {
.big-desktop-max-width {
max-width: 1920px !important;
margin: 0 auto;
}
}