Skip to content

Commit

Permalink
fix scrolling after anchor click
Browse files Browse the repository at this point in the history
  • Loading branch information
danilo-leal committed Oct 13, 2023
1 parent a1fff35 commit 0b95aee
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const Root = styled('div')<{ ownerState: { type?: DescriptionType } }>(
({ theme }) => ({
position: 'relative',
marginBottom: 12,
scrollMarginTop: 'calc(var(--MuiDocs-header-height) + 32px)',
'& .MuiApi-item-header': {
minHeight: 26,
display: 'flex',
Expand Down

0 comments on commit 0b95aee

Please sign in to comment.