Skip to content

Commit

Permalink
scrollButtons overrides fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mnajdova authored Apr 23, 2021
1 parent 1f3a77f commit 1cc92d9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/material-ui/src/Tabs/Tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,12 @@ const TabsRoot = experimentalStyled(
const { styleProps } = props;

return {
[`& .${tabsClasses.scrollButtons}`]: {
...styles.scrollButtons,
...(styleProps.scrollButtonsHideMobile && styles.scrollButtonsHideMobile),
},
...styles.root,
...(styleProps.vertical && styles.vertical),
...styles.scrollButtons,
...(styleProps.scrollButtonsHideMobile && styles.scrollButtonsHideMobile),
};
},
},
Expand Down

0 comments on commit 1cc92d9

Please sign in to comment.