Skip to content

Commit

Permalink
Docs: Fix ToC overflow (#3176)
Browse files Browse the repository at this point in the history
  • Loading branch information
diyorbek authored Aug 30, 2023
1 parent 78ade4b commit 7f91a7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs-components/Toc.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export default function Toc({ cards }: Props): Node {
mdMarginTop={-6}
lgMarginTop={-8}
maxHeight={`calc(100% - ${HEADER_HEIGHT_PX}px - ${FOOTER_HEIGHT_PX}px)`}
overflow="visible"
overflow="auto"
paddingX={1}
paddingY={8} // re-apply just the padding we need
position="fixed"
Expand Down

0 comments on commit 7f91a7a

Please sign in to comment.