Skip to content

Commit

Permalink
chore: set thin as the default with for scrollbar on scrollable
Browse files Browse the repository at this point in the history
  • Loading branch information
kyledurand committed Mar 27, 2024
1 parent df52763 commit a74e1df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/slimy-onions-join.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/polaris': patch
---

Set default scrollbar width to thin on scrollable
2 changes: 1 addition & 1 deletion polaris-react/src/components/Scrollable/Scrollable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const ScrollableComponent = forwardRef<ScrollableRef, ScrollableProps>(
shadow,
hint,
focusable,
scrollbarWidth,
scrollbarWidth = 'thin',
scrollbarGutter,
onScrolledToBottom,
...rest
Expand Down

0 comments on commit a74e1df

Please sign in to comment.