style(mobile): improve content background

This commit is contained in:
Elian Doran 2025-01-04 14:27:23 +02:00
parent a3ac2629e9
commit c130d77a74
No known key found for this signature in database
2 changed files with 6 additions and 0 deletions

View File

@ -137,6 +137,7 @@ export default class MobileLayout {
.child(new NoteTreeWidget() .child(new NoteTreeWidget()
.cssBlock(FANCYTREE_CSS)))) .cssBlock(FANCYTREE_CSS))))
.child(new ScreenContainer("detail", "column") .child(new ScreenContainer("detail", "column")
.id("detail-container")
.class("d-sm-flex d-md-flex d-lg-flex d-xl-flex col-12 col-sm-7 col-md-8 col-lg-9") .class("d-sm-flex d-md-flex d-lg-flex d-xl-flex col-12 col-sm-7 col-md-8 col-lg-9")
.css("padding-left", "0") .css("padding-left", "0")
.css("padding-right", "0") .css("padding-right", "0")

View File

@ -1218,6 +1218,11 @@ body:not(.mobile) #launcher-pane.horizontal .dropdown-submenu > .dropdown-menu {
#mobile-sidebar-wrapper { #mobile-sidebar-wrapper {
transform: none !important; transform: none !important;
background-color: var(--left-pane-background-color) !important;
}
#detail-container {
background: var(--main-background-color);
} }
} }