Skip to content

Build your personal knowledge base with Trilium Notes

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

Elian Doran5457419efa39
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css
index 02483f23af..d96edca437 100644
--- a/apps/client/src/stylesheets/style.css
+++ b/apps/client/src/stylesheets/style.css
@@ -133,6 +133,18 @@ body.desktop {
padding-bottom: env(safe-area-inset-bottom);
}
}
+
+ &.experimental-feature-new-layout #root-widget.horizontal-layout {
+ >.status-bar {
+ padding-bottom: env(safe-area-inset-bottom);
+ }
+ }
+
+ &:not(.experimental-feature-new-layout) #root-widget.horizontal-layout {
+ #horizontal-main-container {
+ padding-bottom: env(safe-area-inset-bottom);
+ }
+ }
}
a {