Skip to content

Build your personal knowledge base with Trilium Notes

chore(mermaid): add rounded corners to code editor

Elian Doranaba6750c18f2
diff --git a/apps/client/src/widgets/type_widgets/helpers/SplitEditor.css b/apps/client/src/widgets/type_widgets/helpers/SplitEditor.css
index 0dce268ea1..4767d5ef19 100644
--- a/apps/client/src/widgets/type_widgets/helpers/SplitEditor.css
+++ b/apps/client/src/widgets/type_widgets/helpers/SplitEditor.css
@@ -23,8 +23,13 @@
contain: size !important;
}
-.note-detail-split .note-detail-code-editor .cm-editor {
- margin: 0 !important;
+.note-detail-split .note-detail-code-editor {
+ border-radius: 6px;
+ margin-top: 1px;
+
+ .cm-editor {
+ margin: 0 !important;
+ }
}
.note-detail-split .note-detail-error-container {