Skip to content

Commit

Permalink
fix(ui): scroll-area display style
Browse files Browse the repository at this point in the history
  • Loading branch information
liangfung committed May 29, 2024
1 parent a72ba5e commit ead85d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ee/tabby-ui/components/ui/scroll-area.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ const ScrollArea = React.forwardRef<
className={cn('relative overflow-hidden', className)}
{...props}
>
<ScrollAreaPrimitive.Viewport className="h-full w-full rounded-[inherit]">
{/* https://github.com/radix-ui/primitives/issues/926 */}
<ScrollAreaPrimitive.Viewport className="h-full w-full rounded-[inherit] [&>div]:!block">
{children}
</ScrollAreaPrimitive.Viewport>
<ScrollBar />
Expand Down

0 comments on commit ead85d4

Please sign in to comment.