This commit is contained in:
Flatlogic Bot 2026-02-17 03:53:27 +00:00
parent a7b1502197
commit 311eb8b6ee

View File

@ -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}