From aba6750c18f2c1432ebfc584d695866fbc445864 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 14 Mar 2026 09:44:06 +0200 Subject: [PATCH] chore(mermaid): add rounded corners to code editor --- .../src/widgets/type_widgets/helpers/SplitEditor.css | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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 {