From 9bf4cf18661b0ad3779cf7ad98d009673e12cb2f Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Sun, 1 Feb 2026 04:29:46 +0100 Subject: [PATCH] Add split editor layout styles --- src/index.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/index.css b/src/index.css index c1f3b78..11e8191 100644 --- a/src/index.css +++ b/src/index.css @@ -591,6 +591,19 @@ body:not([data-theme="light"]) .folder-item { border-color: transparent; } +.editor__textarea-wrap--split { + flex-direction: row; +} + +.editor__textarea-wrap--split .editor__codemirror { + flex: 1; + border-right: 1px solid var(--border); +} + +.editor__textarea-wrap--split .markdown-preview { + flex: 1; +} + .editor__textarea-wrap:focus-within { border-color: rgba(255, 255, 255, 0.18); }