generated from Luis/nextjs-python-web-template
fixed height issue, fixed code for grouping in diagram
This commit is contained in:
committed by
Sara Pervana
parent
9f03c187f3
commit
13de134bb0
@@ -6,6 +6,7 @@ import {
|
||||
ListItemButton,
|
||||
ListItemIcon,
|
||||
ListItemText,
|
||||
Tooltip,
|
||||
useMediaQuery,
|
||||
} from "@mui/material";
|
||||
import Image from "next/image";
|
||||
@@ -137,9 +138,14 @@ export function Sidebar(props: SidebarProps) {
|
||||
/>
|
||||
</div>
|
||||
<div className="lg:absolute lg:right-0 lg:top-0">
|
||||
<IconButton size="large" className="text-white" onClick={onClose}>
|
||||
<ChevronLeftIcon fontSize="inherit" />
|
||||
</IconButton>
|
||||
<Tooltip
|
||||
placement="right"
|
||||
title={collapseMenuOpen ? "Close Sidebar" : "Expand Sidebar"}
|
||||
>
|
||||
<IconButton size="large" className="text-white" onClick={onClose}>
|
||||
<ChevronLeftIcon fontSize="inherit" />
|
||||
</IconButton>
|
||||
</Tooltip>
|
||||
</div>
|
||||
</div>
|
||||
<Divider
|
||||
|
||||
Reference in New Issue
Block a user