Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
feat(mobile): display grid view on two columns
Elian Dorane0766ad439e9
diff --git a/apps/client/src/widgets/collections/legacy/ListOrGridView.css b/apps/client/src/widgets/collections/legacy/ListOrGridView.cssindex 1bfa389e5c..722e747ef0 100644--- a/apps/client/src/widgets/collections/legacy/ListOrGridView.css+++ b/apps/client/src/widgets/collections/legacy/ListOrGridView.css@@ -128,6 +128,10 @@border: 1px solid transparent;}+body.mobile .note-list.grid-view .note-book-card {+ flex-basis: 150px;+}+.note-list.grid-view .note-book-card {max-height: 300px;}diff --git a/apps/client/src/widgets/containers/scrolling_container.css b/apps/client/src/widgets/containers/scrolling_container.cssindex 0e590801c4..a3fae557a3 100644--- a/apps/client/src/widgets/containers/scrolling_container.css+++ b/apps/client/src/widgets/containers/scrolling_container.css@@ -19,6 +19,10 @@}}+body.mobile .scrolling-container {+ --content-margin-inline: 8px;+}+.note-split.type-code:not(.mime-text-x-sqlite) {&> .scrolling-container {background-color: var(--code-background-color);