File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -933,7 +933,7 @@ function TaskDetailContent() {
933933 < div
934934 ref = { messagesContainerRef }
935935 className = { cn (
936- 'relative flex-1 overflow-x-hidden overflow-y-auto' ,
936+ 'scrollbar-soft relative flex-1 overflow-x-hidden overflow-y-auto' ,
937937 ! isPreviewVisible &&
938938 ! isRightSidebarVisible &&
939939 'flex justify-center'
Original file line number Diff line number Diff line change @@ -1224,7 +1224,7 @@ export function RightSidebar({
12241224 } ;
12251225
12261226 return (
1227- < div className = "bg-background flex h-full flex-col overflow-x-hidden overflow-y-auto" >
1227+ < div className = "scrollbar-blend bg-background flex h-full flex-col overflow-x-hidden overflow-y-auto" >
12281228 { /* 1. Workspace Section */ }
12291229 < CollapsibleSection
12301230 title = { t . task . workspace || 'Workspace' }
Original file line number Diff line number Diff line change 3030 scrollbar-width : none; /* Firefox */
3131}
3232
33+ /* Blend scrollbars into background (transparent track) */
34+ .scrollbar-blend {
35+ scrollbar-color : var (--muted-foreground ) transparent; /* Firefox */
36+ }
37+ .scrollbar-blend ::-webkit-scrollbar-track {
38+ background : transparent;
39+ }
40+
41+ /* Soft, light scrollbars (transparent track + subtle thumb) */
42+ .scrollbar-soft {
43+ scrollbar-color : rgba (0 , 0 , 0 , 0.25 ) transparent; /* Firefox */
44+ }
45+ .dark .scrollbar-soft {
46+ scrollbar-color : rgba (255 , 255 , 255 , 0.25 ) transparent; /* Firefox */
47+ }
48+ .scrollbar-soft ::-webkit-scrollbar {
49+ width : 8px ;
50+ }
51+ .scrollbar-soft ::-webkit-scrollbar-track {
52+ background : transparent;
53+ }
54+ .scrollbar-soft ::-webkit-scrollbar-thumb {
55+ background-color : rgba (0 , 0 , 0 , 0.2 );
56+ border-radius : 999px ;
57+ border : 2px solid transparent;
58+ background-clip : padding-box;
59+ }
60+ .dark .scrollbar-soft ::-webkit-scrollbar-thumb {
61+ background-color : rgba (255 , 255 , 255 , 0.2 );
62+ }
63+
3364input ,
3465select ,
3566textarea {
You can’t perform that action at this time.
0 commit comments