Hide overflow during load

This commit is contained in:
N-Pex 2024-09-09 10:24:05 +02:00
parent b621014178
commit 566d3643de

View file

@ -222,7 +222,7 @@ export const Sidebar: FC<SidebarProps> = ({ open, setOpen, openWidth, closedWidt
sx: {
width: open ? openWidth : closedWidth,
border: 0,
overflow: open ? "visible" : "hidden",
overflow: openWidth == 0 ? "hidden" : "visible",
},
}}
>