From dd69cf07e7aace1efad91e5b8e733c7efcf6c02c Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Mon, 13 Jan 2025 09:41:54 +0100 Subject: [PATCH] [docs] Fix Dashboard sidenav sroll (#44876) --- .../templates/dashboard/components/CardAlert.js | 2 +- .../templates/dashboard/components/CardAlert.tsx | 2 +- .../dashboard/components/CustomizedDataGrid.js | 1 - .../dashboard/components/CustomizedDataGrid.tsx | 1 - .../templates/dashboard/components/MenuContent.js | 1 - .../templates/dashboard/components/MenuContent.tsx | 1 - .../templates/dashboard/components/SideMenu.js | 13 +++++++++++-- .../templates/dashboard/components/SideMenu.tsx | 13 +++++++++++-- .../dashboard/components/SideMenuMobile.js | 1 - .../dashboard/components/SideMenuMobile.tsx | 1 - 10 files changed, 24 insertions(+), 12 deletions(-) diff --git a/docs/data/material/getting-started/templates/dashboard/components/CardAlert.js b/docs/data/material/getting-started/templates/dashboard/components/CardAlert.js index 2c14137a7d5f98..b7d146a373e07e 100644 --- a/docs/data/material/getting-started/templates/dashboard/components/CardAlert.js +++ b/docs/data/material/getting-started/templates/dashboard/components/CardAlert.js @@ -7,7 +7,7 @@ import AutoAwesomeRoundedIcon from '@mui/icons-material/AutoAwesomeRounded'; export default function CardAlert() { return ( - + diff --git a/docs/data/material/getting-started/templates/dashboard/components/CardAlert.tsx b/docs/data/material/getting-started/templates/dashboard/components/CardAlert.tsx index 2c14137a7d5f98..b7d146a373e07e 100644 --- a/docs/data/material/getting-started/templates/dashboard/components/CardAlert.tsx +++ b/docs/data/material/getting-started/templates/dashboard/components/CardAlert.tsx @@ -7,7 +7,7 @@ import AutoAwesomeRoundedIcon from '@mui/icons-material/AutoAwesomeRounded'; export default function CardAlert() { return ( - + diff --git a/docs/data/material/getting-started/templates/dashboard/components/CustomizedDataGrid.js b/docs/data/material/getting-started/templates/dashboard/components/CustomizedDataGrid.js index 46bb257a5b19ca..1fedf34a05b029 100644 --- a/docs/data/material/getting-started/templates/dashboard/components/CustomizedDataGrid.js +++ b/docs/data/material/getting-started/templates/dashboard/components/CustomizedDataGrid.js @@ -5,7 +5,6 @@ import { columns, rows } from '../internals/data/gridData'; export default function CustomizedDataGrid() { return ( ))} - {secondaryListItems.map((item, index) => ( diff --git a/docs/data/material/getting-started/templates/dashboard/components/MenuContent.tsx b/docs/data/material/getting-started/templates/dashboard/components/MenuContent.tsx index 5cf1806a13390c..01e189e8f86abe 100644 --- a/docs/data/material/getting-started/templates/dashboard/components/MenuContent.tsx +++ b/docs/data/material/getting-started/templates/dashboard/components/MenuContent.tsx @@ -39,7 +39,6 @@ export default function MenuContent() { ))} - {secondaryListItems.map((item, index) => ( diff --git a/docs/data/material/getting-started/templates/dashboard/components/SideMenu.js b/docs/data/material/getting-started/templates/dashboard/components/SideMenu.js index 80d97439f55ab3..a4eef8d4a0a9b2 100644 --- a/docs/data/material/getting-started/templates/dashboard/components/SideMenu.js +++ b/docs/data/material/getting-started/templates/dashboard/components/SideMenu.js @@ -45,8 +45,17 @@ export default function SideMenu() { - - + + + + - - + + + +