Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix(frontend): scrollbar z-index (#2924)

Liu Jie56b9ef2c9fe
diff --git a/frontend/src/assets/css/tailwind.css b/frontend/src/assets/css/tailwind.css
index 22d89f28cf..62653a75df 100644
--- a/frontend/src/assets/css/tailwind.css
+++ b/frontend/src/assets/css/tailwind.css
@@ -238,6 +238,10 @@
input[type="number"].hide-ticker {
-moz-appearance: textfield;
}
+
+ .fix-scrollbar-z-index {
+ transform: translate3d(0, 0, 0);
+ }
}
.fade-enter-active,
diff --git a/frontend/src/views/sql-editor/TablePanel/DataTable.vue b/frontend/src/views/sql-editor/TablePanel/DataTable.vue
index 3cd29547b1..ef71f592d3 100644
--- a/frontend/src/views/sql-editor/TablePanel/DataTable.vue
+++ b/frontend/src/views/sql-editor/TablePanel/DataTable.vue
@@ -5,7 +5,7 @@
<div class="w-full flex-1 overflow-hidden">
<div
ref="scrollerRef"
- class="inner-wrapper max-h-full w-full overflow-auto border-y border-r border-block-border"
+ class="inner-wrapper max-h-full w-full overflow-auto border-y border-r border-block-border fix-scrollbar-z-index"
:class="data.length === 0 && 'border-b-0 border-r-0'"
>
<div