From 93cd0fd4b9c711ad7fffea795cb3c9aaa0feb6d5 Mon Sep 17 00:00:00 2001 From: erio Date: Sun, 8 Mar 2026 02:56:34 +0800 Subject: [PATCH] fix: make table scrollbar always visible instead of hover-only The global CSS makes all scrollbars transparent by default (only visible on hover). For table containers, scrollbars should always be visible so users know the content is scrollable. Co-Authored-By: Claude Opus 4.6 --- backend/cmd/server/VERSION | 2 +- frontend/src/style.css | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/backend/cmd/server/VERSION b/backend/cmd/server/VERSION index eeef9d0ad6..387a80c594 100644 --- a/backend/cmd/server/VERSION +++ b/backend/cmd/server/VERSION @@ -1 +1 @@ -0.1.93.14 +0.1.93.15 diff --git a/frontend/src/style.css b/frontend/src/style.css index 25631aaf55..f0fe63a276 100644 --- a/frontend/src/style.css +++ b/frontend/src/style.css @@ -57,6 +57,20 @@ ::selection { @apply bg-primary-500/20 text-primary-900 dark:text-primary-100; } + + /* 表格滚动容器:始终显示滚动条,不跟随全局悬停策略 */ + .table-wrapper { + scrollbar-color: rgba(156, 163, 175, 0.5) transparent; + } + .dark .table-wrapper { + scrollbar-color: rgba(75, 85, 99, 0.5) transparent; + } + .table-wrapper::-webkit-scrollbar-thumb { + @apply rounded-full bg-gray-300/50; + } + .dark .table-wrapper::-webkit-scrollbar-thumb { + @apply rounded-full bg-gray-600/50; + } } @layer components {