From 3b4de5fc2525640dc27385ffe1c2e4ebbb99d07d Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Sun, 15 Sep 2024 19:58:45 +0200 Subject: [PATCH] fix(Editor): fix editor width when sidebar is hidden (#2014) Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com> --- src/components/TheEditor.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/TheEditor.vue b/src/components/TheEditor.vue index dce57ec45..8a14bd2b3 100644 --- a/src/components/TheEditor.vue +++ b/src/components/TheEditor.vue @@ -60,6 +60,7 @@ :name="filename" :file-extension="fileExtension" class="codemirror" + :class="{ withSidebar: fileStructureSidebar }" @lineChange="lineChanges" />