Refactor sidebar to transition smoothly by changing open sidebar width from 100% to 210px

This commit is contained in:
Daniel S. Hansen
2025-07-17 10:32:35 -07:00
parent f49486d234
commit 5c68b1c5c3
+1 -1
View File
@@ -83,7 +83,7 @@ export default function Sidebar() {
return ( return (
<Box <Box
css={styles.root} css={styles.root}
width={isOpen ? "100%" : "86px"} width={isOpen ? "210px" : "71px"}
transition="width 0.4s ease" transition="width 0.4s ease"
> >
<IconButton <IconButton