From b3fd097dda63c3fdc50c3eda513aea3a7ab49104 Mon Sep 17 00:00:00 2001 From: okaybase <75366457+okaybase@users.noreply.github.com> Date: Thu, 21 May 2026 17:02:37 +0800 Subject: [PATCH] restore scrollbar interaction on disabled Monaco editors in view mode --- src/styles/global.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/styles/global.css b/src/styles/global.css index 2e63b257ef..4be68eb64d 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -45,6 +45,13 @@ background-color: var(--mantine-color-gray-0) !important; } + /* Allow scrolling on disabled Monaco editor */ + .monaco-scrollable-element, + .monaco-scrollable-element > .scrollbar, + .monaco-scrollable-element > .scrollbar > .slider { + pointer-events: auto !important; + } + .monaco-editor .view-lines, .monaco-editor .view-line * { color: var(--mantine-color-gray-5) !important;