Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: make code blocks scrollable

thecodrrb4e9ab1974e7
diff --git a/apps/web/src/components/editor/editor.css b/apps/web/src/components/editor/editor.css
index a73a58c9b..46bfae19b 100644
--- a/apps/web/src/components/editor/editor.css
+++ b/apps/web/src/components/editor/editor.css
@@ -129,7 +129,7 @@ h6::before {
}
.mce-content-body pre {
- counter-reset: line;
+ overflow-x: auto;
line-height: 1.5 !important;
padding: 15px;
border: 1px solid var(--border);