Skip to content

Build your personal knowledge base with Trilium Notes

chore(css): fix overly narrow empty tab layout on mobile

SiriusXTd98a644b75a9
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css
index eae9423441..857c0935b0 100644
--- a/apps/client/src/stylesheets/style.css
+++ b/apps/client/src/stylesheets/style.css
@@ -1582,6 +1582,14 @@ body:not(.mobile) #launcher-pane.horizontal .dropdown-submenu > .dropdown-menu {
width: 100%;
}
+ .note-split.empty-note {
+ --max-content-width: var(--preferred-max-content-width);
+ }
+
+ .note-detail-empty {
+ margin: 15px;
+ }
+
#mobile-sidebar-container.show #mobile-sidebar-wrapper {
transform: translateX(0);
}