diff --git a/docs/data/material/getting-started/templates/dashboard/components/CustomizedTreeView.tsx b/docs/data/material/getting-started/templates/dashboard/components/CustomizedTreeView.tsx index ef34c10c6e35ce..7cdf10208005ce 100644 --- a/docs/data/material/getting-started/templates/dashboard/components/CustomizedTreeView.tsx +++ b/docs/data/material/getting-started/templates/dashboard/components/CustomizedTreeView.tsx @@ -182,24 +182,26 @@ const CustomTreeItem = React.forwardRef(function CustomTreeItem( export default function CustomizedTreeView() { return ( - - - Product tree - - + + Product tree + ); } diff --git a/docs/data/material/getting-started/templates/dashboard/components/PageViewsBarChart.tsx b/docs/data/material/getting-started/templates/dashboard/components/PageViewsBarChart.tsx index a9012278982858..5dab2c76f85a9f 100644 --- a/docs/data/material/getting-started/templates/dashboard/components/PageViewsBarChart.tsx +++ b/docs/data/material/getting-started/templates/dashboard/components/PageViewsBarChart.tsx @@ -76,8 +76,8 @@ export default function PageViewsBarChart() { slotProps={{ legend: { position: { vertical: 'top', horizontal: 'right' }, - itemMarkWidth: 12, - itemMarkHeight: 12, + itemMarkWidth: 10, + itemMarkHeight: 10, itemGap: 24, labelStyle: { fontSize: 14 }, }, diff --git a/docs/data/material/getting-started/templates/dashboard/components/PageViewsChart.tsx b/docs/data/material/getting-started/templates/dashboard/components/PageViewsChart.tsx index a6032f44609c9b..86aa28a612dbd0 100644 --- a/docs/data/material/getting-started/templates/dashboard/components/PageViewsChart.tsx +++ b/docs/data/material/getting-started/templates/dashboard/components/PageViewsChart.tsx @@ -126,8 +126,8 @@ export default function PageViewsChart() { slotProps={{ legend: { labelStyle: { fontSize: 14 }, - itemMarkWidth: 12, - itemMarkHeight: 12, + itemMarkWidth: 10, + itemMarkHeight: 10, itemGap: 24, position: { vertical: 'top', horizontal: 'right' }, }, diff --git a/docs/data/material/getting-started/templates/dashboard/getDashboardTheme.tsx b/docs/data/material/getting-started/templates/dashboard/getDashboardTheme.tsx index 81eedca3e74290..792926111ffc61 100644 --- a/docs/data/material/getting-started/templates/dashboard/getDashboardTheme.tsx +++ b/docs/data/material/getting-started/templates/dashboard/getDashboardTheme.tsx @@ -912,7 +912,6 @@ export default function getDashboardTheme(mode: PaletteMode): ThemeOptions { }, }, }, - MuiRichTreeView: { styleOverrides: { root: { paddingBottom: 5 } } }, MuiTreeItem2: { styleOverrides: { root: ({ theme }) => ({ @@ -929,7 +928,7 @@ export default function getDashboardTheme(mode: PaletteMode): ThemeOptions { content: ({ theme }) => ({ marginTop: theme.spacing(1), padding: theme.spacing(0.5, 1), - overflow: 'hidden', + overflow: 'clip', '&:hover': { backgroundColor: alpha(gray[300], 0.2), },