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
style/collections with descriptions: fix layout while centered content is enabled
Adorian Doran0c58357dbd3a
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.cssindex 143f26b24c..2dcae77660 100644--- a/apps/client/src/stylesheets/style.css+++ b/apps/client/src/stylesheets/style.css@@ -2726,7 +2726,7 @@ iframe.print-iframe {/* Scrolling container */-.scrolling-container:has(> :is(.note-detail.full-height, .note-list-widget.full-height)) {+.note-split:not(.type-text) > .scrolling-container:has(> :is(.note-detail.full-height, .note-list-widget.full-height)) {display: flex;flex-direction: column;}diff --git a/apps/client/src/widgets/collections/NoteList.css b/apps/client/src/widgets/collections/NoteList.cssindex aa63b6e54b..5f35951a26 100644--- a/apps/client/src/widgets/collections/NoteList.css+++ b/apps/client/src/widgets/collections/NoteList.css@@ -11,9 +11,12 @@}}-body.prefers-centered-content .note-list-widget:not(.full-height) {- /* Horizontally center the widget in its parent when the "Keep content centered" option is on */- margin-inline: auto;+body.prefers-centered-content {+ .note-list-widget:not(.full-height),+ .note-split.type-text .note-list-widget {+ /* Horizontally center the widget in its parent when the "Keep content centered" option is on */+ margin-inline: auto;+ }}.note-list-widget.full-height,