SidebarNavigationLink: set parent height for before svg is loaded
This commit is contained in:
parent
1e3c6d9430
commit
dfb5e7f41b
|
@ -37,14 +37,16 @@ const SidebarNavigationLink = ({ icon, text, to, count }: ISidebarNavigationLink
|
|||
</span>
|
||||
) : null}
|
||||
|
||||
<div className='h-5 w-5'>
|
||||
<Icon
|
||||
src={icon}
|
||||
className={classNames({
|
||||
'h-5 w-5': true,
|
||||
'h-full w-full': true,
|
||||
'text-primary-700 dark:text-white': !isActive,
|
||||
'text-white': isActive,
|
||||
})}
|
||||
/>
|
||||
</div>
|
||||
</span>
|
||||
|
||||
<Text weight='semibold' theme='inherit'>{text}</Text>
|
||||
|
|
Loading…
Reference in New Issue