From f0777f0b5db9115b84bdcb37eb9dab6650bd725b Mon Sep 17 00:00:00 2001 From: Fringg Date: Wed, 11 Mar 2026 01:42:54 +0300 Subject: [PATCH] fix: desktop nav always icon-only with tooltips Text labels overflow even at 2xl with Russian + 9 items. Switch to icon-only mode at all desktop widths. Labels kept as sr-only for accessibility, title attribute provides tooltips. --- src/components/layout/AppShell/AppShell.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/layout/AppShell/AppShell.tsx b/src/components/layout/AppShell/AppShell.tsx index 3fa97cb..2767068 100644 --- a/src/components/layout/AppShell/AppShell.tsx +++ b/src/components/layout/AppShell/AppShell.tsx @@ -332,7 +332,7 @@ export function AppShell({ children }: AppShellProps) { )} > - {item.label} + {item.label} ))} {referralEnabled && ( @@ -348,7 +348,7 @@ export function AppShell({ children }: AppShellProps) { )} > - {t('nav.referral')} + {t('nav.referral')} )} {giftEnabled && ( @@ -364,7 +364,7 @@ export function AppShell({ children }: AppShellProps) { )} > - {t('nav.gift')} + {t('nav.gift')} )} {isAdmin && ( @@ -382,7 +382,7 @@ export function AppShell({ children }: AppShellProps) { )} > - {t('admin.nav.title')} + {t('admin.nav.title')} )}