This is an automated email from the ASF dual-hosted git repository.

Baoyuantop pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git


The following commit(s) were added to refs/heads/master by this push:
     new 34982e782 fix: restore scrollbar interaction on disabled Monaco 
editors in view mode (#3392)
34982e782 is described below

commit 34982e7826d55b37369cfa78a886ec699eebefad
Author: okaybase <[email protected]>
AuthorDate: Wed Jun 3 18:22:42 2026 +0800

    fix: restore scrollbar interaction on disabled Monaco editors in view mode 
(#3392)
---
 src/styles/global.css | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/styles/global.css b/src/styles/global.css
index 2e63b257e..4be68eb64 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;

Reply via email to