Skip to content

Commit

Permalink
Backport pull request #5590 from jellyfin-web/release-10.9.z
Browse files Browse the repository at this point in the history
Fix positioning of the main animated page elements

Original-merge: f7f5ac9

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
  • Loading branch information
thornbill authored and joshuaboniface committed May 25, 2024
1 parent 5d60602 commit 711f61d
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 711f61d

Please sign in to comment.