Skip to content

Commit

Permalink
Merge pull request #24491 from storybookjs/norbert/fix-highlighting-c…
Browse files Browse the repository at this point in the history
…olors

UI: Fix className missing in syntaxhighlighter
  • Loading branch information
ndelangen authored Oct 17, 2023
2 parents 982210c + e29686c commit 4fa8c19
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 4fa8c19

Please sign in to comment.