体验: 滚动条加深与选中行区分,文件列表表头固定不随滚动且横向滚动条贴可视区底部

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
fenghp
2026-06-11 18:31:29 +08:00
co-authored by Cursor
parent 55a76cc51a
commit 7e14ba30f9
3 changed files with 12 additions and 2 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ function ScrollBar({
>
<ScrollAreaPrimitive.ScrollAreaThumb
data-slot="scroll-area-thumb"
className="relative flex-1 rounded-full bg-border"
className="relative flex-1 rounded-full bg-foreground/25 transition-colors hover:bg-foreground/40"
/>
</ScrollAreaPrimitive.ScrollAreaScrollbar>
)