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/fixed formatting toolbar: fix the position in multi-split mode
Adorian Doran5d706a88d8e8
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.cssindex e09ff03cb7..615950d6a1 100644--- a/apps/client/src/stylesheets/style.css+++ b/apps/client/src/stylesheets/style.css@@ -2119,11 +2119,17 @@ body.zen .note-split.type-text {/* Fixed formatting toolbar */body.zen .note-split .ribbon-container {- position: absolute;+ position: fixed;+ left: 0;bottom: 20px;width: 100%;z-index: 100000;pointer-events: none;+ visibility: hidden; /* Hidden unless the current note split is focused */+}++body.zen .note-split:focus-within .ribbon-container {+ visibility: visible; /* Show when the note split is focused */}body.zen .note-split .ribbon-container .ribbon-body {