diff --git a/@web/components/ui/scroll-area.tsx b/@web/components/ui/scroll-area.tsx index 81fa250..852dd04 100644 --- a/@web/components/ui/scroll-area.tsx +++ b/@web/components/ui/scroll-area.tsx @@ -14,7 +14,7 @@ const ScrollArea = React.forwardRef< {children} - + )) @@ -29,13 +29,15 @@ const ScrollBar = React.forwardRef< orientation={orientation} className={cn( 'flex touch-none select-none transition-colors', - orientation === 'vertical' && 'h-full w-2.5 border-l border-l-transparent p-[1px]', - orientation === 'horizontal' && 'h-2.5 flex-col border-t border-t-transparent p-[1px]', + orientation === 'vertical' && + 'h-full w-1.5 @2xl:hover:w-2 @6xl:hover:w-2.5 border-l border-l-transparent p-[1px]', + orientation === 'horizontal' && + 'h-1.5 @2xl:hover:h-2 @6xl:hover:h-2.5 flex-col border-t border-t-transparent p-[1px]', className, )} {...props} > - + )) ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName