New UI
This commit is contained in:
parent
a7b1502197
commit
311eb8b6ee
@ -87,14 +87,14 @@ export default function NavBarItem({ item }: Props) {
|
||||
onClick={handleMenuClick}
|
||||
>
|
||||
{item.icon && <BaseIcon path={item.icon} size={22} className="transition-colors" />}
|
||||
{item.isCurrentUser && <UserAvatarCurrentUser className="w-6 h-6 inline-flex" />}
|
||||
<span
|
||||
className={`px-2 transition-colors w-40 grow ${
|
||||
className={`px-2 transition-colors ${item.isCurrentUser ? '' : 'w-40 grow'} ${
|
||||
item.isDesktopNoLabel && item.icon ? 'lg:hidden' : ''
|
||||
}`}
|
||||
>
|
||||
{itemLabel}
|
||||
</span>
|
||||
{item.isCurrentUser && <UserAvatarCurrentUser className="w-6 h-6 mr-3 inline-flex" />}
|
||||
{item.menu && (
|
||||
<BaseIcon
|
||||
path={isDropdownActive ? mdiChevronUp : mdiChevronDown}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user