Hide overflow during load
This commit is contained in:
parent
b621014178
commit
566d3643de
1 changed files with 1 additions and 1 deletions
|
|
@ -222,7 +222,7 @@ export const Sidebar: FC<SidebarProps> = ({ open, setOpen, openWidth, closedWidt
|
||||||
sx: {
|
sx: {
|
||||||
width: open ? openWidth : closedWidth,
|
width: open ? openWidth : closedWidth,
|
||||||
border: 0,
|
border: 0,
|
||||||
overflow: open ? "visible" : "hidden",
|
overflow: openWidth == 0 ? "hidden" : "visible",
|
||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue