diff --git a/docs/src/modules/components/ApiPage/table/CSSTable.tsx b/docs/src/modules/components/ApiPage/table/CSSTable.tsx index 987eb67cea3cfa..428c5ae5234ca0 100644 --- a/docs/src/modules/components/ApiPage/table/CSSTable.tsx +++ b/docs/src/modules/components/ApiPage/table/CSSTable.tsx @@ -17,6 +17,7 @@ const StyledTable = styled('table')( fontSize: theme.typography.pxToRem(14), }, '& tr': { + scrollMarginTop: 'calc(var(--MuiDocs-header-height) + 32px)', '&:hover': { backgroundColor: alpha(darkTheme.palette.grey[50], 0.5), }, diff --git a/docs/src/modules/components/ApiPage/table/ClassesTable.tsx b/docs/src/modules/components/ApiPage/table/ClassesTable.tsx index dc4b715a81e2ba..388d7ccc357126 100644 --- a/docs/src/modules/components/ApiPage/table/ClassesTable.tsx +++ b/docs/src/modules/components/ApiPage/table/ClassesTable.tsx @@ -20,6 +20,7 @@ const StyledTable = styled('table')( fontSize: theme.typography.pxToRem(14), }, '& tr': { + scrollMarginTop: 'calc(var(--MuiDocs-header-height) + 32px)', '&:hover': { backgroundColor: alpha(darkTheme.palette.grey[50], 0.5), }, diff --git a/docs/src/modules/components/ApiPage/table/PropertiesTable.tsx b/docs/src/modules/components/ApiPage/table/PropertiesTable.tsx index 6509e32a34949d..715c9a10be664c 100644 --- a/docs/src/modules/components/ApiPage/table/PropertiesTable.tsx +++ b/docs/src/modules/components/ApiPage/table/PropertiesTable.tsx @@ -21,6 +21,7 @@ const StyledTable = styled('table')( fontSize: theme.typography.pxToRem(14), }, '& tr': { + scrollMarginTop: 'calc(var(--MuiDocs-header-height) + 32px)', '&:hover': { backgroundColor: alpha(darkTheme.palette.grey[50], 0.5), }, diff --git a/docs/src/modules/components/ApiPage/table/SlotsTable.tsx b/docs/src/modules/components/ApiPage/table/SlotsTable.tsx index 112d5480771403..8756002372de7d 100644 --- a/docs/src/modules/components/ApiPage/table/SlotsTable.tsx +++ b/docs/src/modules/components/ApiPage/table/SlotsTable.tsx @@ -17,6 +17,7 @@ const StyledTable = styled('table')( fontSize: theme.typography.pxToRem(14), }, '& tr': { + scrollMarginTop: 'calc(var(--MuiDocs-header-height) + 32px)', '&:hover': { backgroundColor: alpha(darkTheme.palette.grey[50], 0.5), },