fixed height issue, fixed code for grouping in diagram

This commit is contained in:
sara-pervana
2024-01-16 21:21:20 +01:00
committed by Sara Pervana
parent 9f03c187f3
commit 13de134bb0
6 changed files with 45 additions and 49 deletions

View File

@@ -6,6 +6,7 @@ import {
CssBaseline,
IconButton,
ThemeProvider,
Tooltip,
useMediaQuery,
} from "@mui/material";
import { StyledEngineProvider } from "@mui/material/styles";
@@ -84,13 +85,15 @@ export default function RootLayout({
>
<div className="grid grid-cols-3">
<div className="col-span-1">
<IconButton
style={{ padding: "12px" }}
hidden={true}
onClick={() => setShowSidebar((c) => !c)}
>
{!showSidebar && <MenuIcon />}
</IconButton>
<Tooltip placement="right" title="Expand Sidebar">
<IconButton
style={{ padding: "12px" }}
hidden={true}
onClick={() => setShowSidebar((c) => !c)}
>
{!showSidebar && <MenuIcon />}
</IconButton>
</Tooltip>
</div>
</div>