From e9e0e87013329b0ece02e7c8af4c30293ad29bef Mon Sep 17 00:00:00 2001 From: Fusion Date: Tue, 19 May 2026 19:57:53 +0200 Subject: [PATCH] fix: resolve double scrollbar in file editor - Change workspace-main overflow from auto to hidden to prevent nested scrolling - Change file-editor-content overflow from auto to hidden - Change code-block overflow from auto to visible - Add flex display to workspace-main and file-editor-content for proper height distribution Fixes double scrollbar issue in file editor workspace --- apps/web/src/styles.css | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/apps/web/src/styles.css b/apps/web/src/styles.css index c94509a..54700a6 100644 --- a/apps/web/src/styles.css +++ b/apps/web/src/styles.css @@ -926,9 +926,11 @@ a { .workspace-main { flex: 1; - overflow: auto; + overflow: hidden; padding: 1rem; background: var(--bg); + display: flex; + flex-direction: column; } /* File Tree */ @@ -1522,8 +1524,10 @@ a { .file-editor-content { flex: 1; - overflow: auto; + overflow: hidden; background: var(--bg); + display: flex; + flex-direction: column; } /* Syntax Highlighter */ @@ -1595,7 +1599,7 @@ a { flex: 1; margin: 0; padding: 1rem; - overflow: auto; + overflow: visible; background: transparent; }