Skip to content

Build your personal knowledge base with Trilium Notes

feat(markdown): make preview scrollable

Elian Doran6d2496599fea
diff --git a/apps/client/src/widgets/type_widgets/code/Markdown.css b/apps/client/src/widgets/type_widgets/code/Markdown.css
index 19bd140e35..7392c3e5f8 100644
--- a/apps/client/src/widgets/type_widgets/code/Markdown.css
+++ b/apps/client/src/widgets/type_widgets/code/Markdown.css
@@ -3,8 +3,13 @@
padding-block: 0.25em;
}
- .markdown-preview {
- padding: 0.5em;
+ .note-detail-split-preview {
+ overflow: auto;
+
+ .markdown-preview {
+ padding: 0.5em;
+ }
}
+
}