Skip to content

Build your personal knowledge base with Trilium Notes

fix horizontal wrap of pre elements

zadam44add751b2a4
diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css
index 077c38f92e..237258a39a 100644
--- a/src/public/stylesheets/style.css
+++ b/src/public/stylesheets/style.css
@@ -478,6 +478,7 @@ button.icon-button {
pre:not(.CodeMirror-line) {
color: var(--main-text-color) !important;
+ white-space: pre-wrap;
}
.file-preview-content {