Skip to content

Commit

Permalink
Merge pull request #5590 from thornbill/fix-main-page-position
Browse files Browse the repository at this point in the history
  • Loading branch information
thornbill committed May 25, 2024
2 parents a88d03f + 7342e43 commit f7f5ac9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/apps/dashboard/AppOverrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,14 @@ $mui-bp-md: 900px;
$mui-bp-lg: 1200px;
$mui-bp-xl: 1536px;

$drawer-width: 240px;

// Fix dashboard pages layout to work with drawer
.dashboardDocument {
.mainAnimatedPage {
position: relative;
@media all and (min-width: $mui-bp-md) {
left: $drawer-width;
}
}

.skinBody {
Expand Down
6 changes: 5 additions & 1 deletion src/apps/experimental/AppOverrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@ $mui-bp-md: 900px;
$mui-bp-lg: 1200px;
$mui-bp-xl: 1536px;

$drawer-width: 240px;

// Fix main pages layout to work with drawer
.mainAnimatedPage {
position: relative;
@media all and (min-width: $mui-bp-md) {
left: $drawer-width;
}
}

// Hide some items from the user "settings" page that are in the drawer
Expand Down

0 comments on commit f7f5ac9

Please sign in to comment.