align submenu

This commit is contained in:
isstuev
2023-02-16 19:47:34 -05:00
parent e197a05b85
commit bcdaca341d
2 changed files with 1 additions and 1 deletions
@@ -80,7 +80,7 @@ const NavLinkGroupDesktop = ({ text, subItems, icon, isCollapsed, isActive }: Pr
</Flex>
</Box>
</PopoverTrigger>
<PopoverContent width="auto">
<PopoverContent width="auto" top={{ lg: isExpanded ? '-16px' : 0, xl: isCollapsed ? 0 : '-16px' }}>
<PopoverBody p={ 4 }>
<Text variant="secondary" fontSize="sm" mb={ 2 } display={{ lg: isExpanded ? 'none' : 'block', xl: isCollapsed ? 'block' : 'none' }}>
{ text }
Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 46 KiB