Skip to content

Commit

Permalink
[Tabs] Fix TabsScrollbarSize issue #38406
Browse files Browse the repository at this point in the history
  • Loading branch information
brentertz committed Aug 18, 2023
1 parent afc08c5 commit f7e3a7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions packages/mui-material-next/src/Tabs/Tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,7 @@ const TabsIndicator = styled('span', {
}),
}));

const TabsScrollbarSize = styled(ScrollbarSize, {
name: 'MuiTabs',
slot: 'ScrollbarSize',
})({
const TabsScrollbarSize = styled(ScrollbarSize)({
overflowX: 'auto',
overflowY: 'hidden',
// Hide dimensionless scrollbar on macOS
Expand Down
5 changes: 1 addition & 4 deletions packages/mui-material/src/Tabs/Tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,7 @@ const TabsIndicator = styled('span', {
}),
}));

const TabsScrollbarSize = styled(ScrollbarSize, {
name: 'MuiTabs',
slot: 'ScrollbarSize',
})({
const TabsScrollbarSize = styled(ScrollbarSize)({
overflowX: 'auto',
overflowY: 'hidden',
// Hide dimensionless scrollbar on macOS
Expand Down

0 comments on commit f7e3a7f

Please sign in to comment.