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/zen mode: disable translucency for the title bar when backdrop effects are turned off
Adorian Doran3ae7bd59ec4e
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.cssindex 196fbf5050..e2b364a8ef 100644--- a/apps/client/src/stylesheets/style.css+++ b/apps/client/src/stylesheets/style.css@@ -2117,7 +2117,7 @@ body.zen .note-split.type-text {font-size: 1.15em;}-body.zen .note-split.type-text .title-row {+body.zen:not(.backdrop-effects-disabled) .note-split.type-text .title-row {--start-color: var(--main-background-color);position: absolute;@@ -2133,13 +2133,17 @@ body.zen .note-split.type-text .title-row {}body.zen .note-split.type-text .scrolling-container {- --padding-top: 50px; /* Should be enough to cover the title row */--padding-bottom: 130px; /* Should be enough to avoid caret being hidden by the formatting toolbar *//* (Usually) keeps the caret above the fixed toolbar */+ scroll-padding-bottom: var(--padding-bottom);+}++body.zen:not(.backdrop-effects-disabled) .note-split.type-text .scrolling-container {+ --padding-top: 50px; /* Should be enough to cover the title row */+padding-top: var(--padding-top);scroll-padding-top: var(--padding-top);- scroll-padding-bottom: var(--padding-bottom);}/* Fixed formatting toolbar */