diff options
Diffstat (limited to 'apps/web/components/ui/scroll-area.tsx')
| -rw-r--r-- | apps/web/components/ui/scroll-area.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/web/components/ui/scroll-area.tsx b/apps/web/components/ui/scroll-area.tsx index 32cb6022..9d77ecd1 100644 --- a/apps/web/components/ui/scroll-area.tsx +++ b/apps/web/components/ui/scroll-area.tsx @@ -1,9 +1,8 @@ "use client"; import * as React from "react"; -import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area"; - import { cn } from "@/lib/utils"; +import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area"; const ScrollArea = React.forwardRef< React.ElementRef<typeof ScrollAreaPrimitive.Root>, @@ -40,7 +39,7 @@ const ScrollBar = React.forwardRef< )} {...props} > - <ScrollAreaPrimitive.ScrollAreaThumb className="bg-border relative flex-1 rounded-full" /> + <ScrollAreaPrimitive.ScrollAreaThumb className="relative flex-1 rounded-full bg-border" /> </ScrollAreaPrimitive.ScrollAreaScrollbar> )); ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName; |
