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/options: properly align the title with the option cards when the content is centered
Adorian Doranb3feb3836997
diff --git a/apps/client/src/stylesheets/theme-next/pages.css b/apps/client/src/stylesheets/theme-next/pages.cssindex c9a34789be..f323d00005 100644--- a/apps/client/src/stylesheets/theme-next/pages.css+++ b/apps/client/src/stylesheets/theme-next/pages.css@@ -151,6 +151,11 @@--options-title-font-size: .75rem;--options-title-offset: 13px;}++.note-split.options {+ --preferred-max-content-width: var(--options-card-max-width);+}+/* Create a gap at the top of the option pages */.note-detail-content-widget-content.options>*:first-child {margin-top: var(--options-first-item-top-margin, 1em);@@ -185,10 +190,6 @@ body.experimental-feature-new-layout .note-detail-content-widget-content.optionspadding: var(--options-card-padding);}-body.prefers-centered-content .options-section:not(.tn-no-card) {- margin-inline: auto;-}-body.desktop .options-section:not(.tn-no-card) {min-width: var(--options-card-min-width);max-width: var(--options-card-max-width);