Skip to content

Commit

Permalink
[docs] Fix confusion in TOCs when reaching scroll bottom
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Nov 20, 2022
1 parent 4495d42 commit 251a599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/modules/components/AppTableOfContents.js
Expand Up @@ -20,7 +20,7 @@ const Nav = styled('nav')(({ theme }) => ({
height: '100vh',
overflowY: 'auto',
paddingTop: 'calc(var(--MuiDocs-header-height) + 1rem)',
paddingBottom: theme.spacing(2),
paddingBottom: theme.spacing(4),
paddingRight: theme.spacing(4), // We can't use `padding` as stylis-plugin-rtl doesn't swap it
display: 'none',
[theme.breakpoints.up('sm')]: {
Expand Down

0 comments on commit 251a599

Please sign in to comment.