Skip to content

Commit

Permalink
[docs] Fix confusion in TOCs when reaching scroll bottom (mui#35214)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari authored and Daniel Rabe committed Nov 29, 2022
1 parent 3871c3f commit ecdeccf
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 ecdeccf

Please sign in to comment.