Skip to content

Build your personal knowledge base with Trilium Notes

feat(mobile): respect bottom safe area on desktop layout with vertical layout

Elian Doran7684a3b49704
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css
index f07710acb3..02483f23af 100644
--- a/apps/client/src/stylesheets/style.css
+++ b/apps/client/src/stylesheets/style.css
@@ -124,10 +124,15 @@ body.desktop #root-widget.horizontal-layout {
background-color: var(--launcher-pane-background-color);
}
-body.desktop #root-widget.vertical-layout #launcher-pane,
-body.desktop #root-widget.vertical-layout #left-pane,
-body.desktop #root-widget.vertical-layout #rest-pane {
- padding-top: env(safe-area-inset-top);
+body.desktop {
+ #root-widget.vertical-layout {
+ #launcher-pane,
+ #left-pane,
+ #rest-pane {
+ padding-top: env(safe-area-inset-top);
+ padding-bottom: env(safe-area-inset-bottom);
+ }
+ }
}
a {