diff --git a/docs/src/modules/components/ApiPage/list/ExpendableApiItem.tsx b/docs/src/modules/components/ApiPage/list/ExpendableApiItem.tsx index 6409cef7767a34..4b4ee6c7399fd5 100644 --- a/docs/src/modules/components/ApiPage/list/ExpendableApiItem.tsx +++ b/docs/src/modules/components/ApiPage/list/ExpendableApiItem.tsx @@ -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',