1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Backport pull request #5590 from jellyfin-web/release-10.9.z

Fix positioning of the main animated page elements

Original-merge: f7f5ac99b0

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

Backported-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
thornbill 2024-05-25 11:50:47 -04:00 committed by Joshua M. Boniface
parent 5d606021ed
commit 711f61d93d
2 changed files with 10 additions and 2 deletions

View file

@ -5,10 +5,14 @@ $mui-bp-md: 900px;
$mui-bp-lg: 1200px; $mui-bp-lg: 1200px;
$mui-bp-xl: 1536px; $mui-bp-xl: 1536px;
$drawer-width: 240px;
// Fix dashboard pages layout to work with drawer // Fix dashboard pages layout to work with drawer
.dashboardDocument { .dashboardDocument {
.mainAnimatedPage { .mainAnimatedPage {
position: relative; @media all and (min-width: $mui-bp-md) {
left: $drawer-width;
}
} }
.skinBody { .skinBody {

View file

@ -5,9 +5,13 @@ $mui-bp-md: 900px;
$mui-bp-lg: 1200px; $mui-bp-lg: 1200px;
$mui-bp-xl: 1536px; $mui-bp-xl: 1536px;
$drawer-width: 240px;
// Fix main pages layout to work with drawer // Fix main pages layout to work with drawer
.mainAnimatedPage { .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 // Hide some items from the user "settings" page that are in the drawer