Skip to content

Build your personal knowledge base with Trilium Notes

style/zen mode: improve scrolling for text notes

Adorian Doranaa7f01313a54
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css
index 2a7664995e..48e52ed923 100644
--- a/apps/client/src/stylesheets/style.css
+++ b/apps/client/src/stylesheets/style.css
@@ -2117,6 +2117,11 @@ body.zen .note-split.type-text {
font-size: 1.15em;
}
+body.zen .note-split.type-text .scrolling-container {
+ /* (Usually) keeps the caret above the fixed toolbar */
+ scroll-padding-bottom: 130px;
+}
+
/* Fixed formatting toolbar */
body.zen .note-split .ribbon-container {