Skip to content

Build your personal knowledge base with Trilium Notes

style(next): tree for tablet mode

Elian Doran2e85e2adb515
diff --git a/src/public/stylesheets/theme-next/shell.css b/src/public/stylesheets/theme-next/shell.css
index 1c1b968a88..ee0c5efc0e 100644
--- a/src/public/stylesheets/theme-next/shell.css
+++ b/src/public/stylesheets/theme-next/shell.css
@@ -431,14 +431,16 @@ body.mobile .fancytree-node > span {
font-size: 1rem !important;
}
-body.mobile #mobile-sidebar-container {
- background-color: rgba(0, 0, 0, 0.5);
-}
+@media (max-width: 991px) {
+ body.mobile #mobile-sidebar-container {
+ background-color: rgba(0, 0, 0, 0.5);
+ }
-body.mobile #mobile-sidebar-wrapper {
- border-top-right-radius: 12px;
- border-bottom-right-radius: 12px;
- border-right: 1px solid var(--subtle-border-color);
+ body.mobile #mobile-sidebar-wrapper {
+ border-top-right-radius: 12px;
+ border-bottom-right-radius: 12px;
+ border-right: 1px solid var(--subtle-border-color);
+ }
}
#left-pane .fancytree-expander {