Skip to content

Commit

Permalink
add className so colors are applied in syntaxhighlighter
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen authored and yannbf committed Oct 17, 2023
1 parent 0e1b990 commit 0a6b508
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/ui/components/src/components/ScrollArea/ScrollArea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,9 @@ export const ScrollArea: FC<ScrollAreaProps> = ({
vertical = false,
offset = 2,
scrollbarSize = 6,
className,
}) => (
<ScrollAreaRoot scrollbarsize={scrollbarSize} offset={offset}>
<ScrollAreaRoot scrollbarsize={scrollbarSize} offset={offset} className={className}>
<ScrollAreaViewport>{children}</ScrollAreaViewport>
{horizontal && (
<ScrollAreaScrollbar
Expand Down

0 comments on commit 0a6b508

Please sign in to comment.