Refactor still working on UI changes
This commit is contained in:
@@ -40,15 +40,15 @@ export default function Sidebar() {
|
||||
to="/home"
|
||||
color="color"
|
||||
variant="plain"
|
||||
textStyle={isOpen ? "5xl" : "4xl"} // Scale down slightly when closed
|
||||
fontWeight="bold"
|
||||
height="auto" // Prevents the large text from squashing vertically
|
||||
overflow="hidden"
|
||||
px={0}
|
||||
justifyContent={isOpen ? "flex-start" : "center"} // Center the 'V' when collapsed
|
||||
justifyContent={isOpen ? "center" : "center"} // Center the 'V' when collapsed
|
||||
ml={isOpen ? 3 : 0} // Align with other buttons when open
|
||||
textStyle={isOpen ? "4xl" : "3xl"} // Scale down slightly when closed
|
||||
>
|
||||
{isOpen ? "VDAP" : "V"}
|
||||
{isOpen ? "🌋 VDAP" : "🌋"}
|
||||
</Button>
|
||||
|
||||
{/* Menu Trigger */}
|
||||
|
||||
Reference in New Issue
Block a user