Skip to content

Build your personal knowledge base with Trilium Notes

style/zen mode: fix content refusing to get narrower than the max content width preference

Adorian Doran5e3ffc12ced1
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css
index b356a0a556..399630fd60 100644
--- a/apps/client/src/stylesheets/style.css
+++ b/apps/client/src/stylesheets/style.css
@@ -2107,7 +2107,8 @@ body.zen .note-split:not(.full-content-width) .scrolling-container {
body.zen .note-split:not(.full-content-width) .note-detail {
margin: auto;
padding-bottom: 25vh;
- width: var(--max-content-width);
+ max-width: var(--max-content-width);
+ width: 100%;
}
body.zen .note-split:not(.full-content-width) .scroll-padding-widget {