update sidebar stack classname to include sidebarReady

This commit is contained in:
Vishnu Sreekumaran Nair
2025-04-07 14:57:00 -04:00
parent 79cabb770a
commit 58a51d8a3f

View File

@@ -211,7 +211,7 @@ function Sidebar() {
<Stack
component="aside"
ref={sidebarRef}
className={collapsed ? "collapsed" : "expanded"}
className={`${collapsed ? "collapsed" : "expanded"} ${sidebarReady ? "sidebar-ready" : ""}`}
/* TODO general padding should be here */
py={theme.spacing(6)}
gap={theme.spacing(6)}