mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 09:33:46 +00:00
fix: show nav labels from 2xl (1536px) instead of xl (1280px)
Russian labels with 9 items overflow at xl breakpoint. Push text labels to 2xl where there is enough space for all languages.
This commit is contained in:
@@ -332,7 +332,7 @@ export function AppShell({ children }: AppShellProps) {
|
|||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<item.icon className="h-3.5 w-3.5 shrink-0" />
|
<item.icon className="h-3.5 w-3.5 shrink-0" />
|
||||||
<span className="hidden xl:inline">{item.label}</span>
|
<span className="hidden 2xl:inline">{item.label}</span>
|
||||||
</Link>
|
</Link>
|
||||||
))}
|
))}
|
||||||
{referralEnabled && (
|
{referralEnabled && (
|
||||||
@@ -348,7 +348,7 @@ export function AppShell({ children }: AppShellProps) {
|
|||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<UsersIcon className="h-3.5 w-3.5 shrink-0" />
|
<UsersIcon className="h-3.5 w-3.5 shrink-0" />
|
||||||
<span className="hidden xl:inline">{t('nav.referral')}</span>
|
<span className="hidden 2xl:inline">{t('nav.referral')}</span>
|
||||||
</Link>
|
</Link>
|
||||||
)}
|
)}
|
||||||
{giftEnabled && (
|
{giftEnabled && (
|
||||||
@@ -364,7 +364,7 @@ export function AppShell({ children }: AppShellProps) {
|
|||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<GiftIcon className="h-3.5 w-3.5 shrink-0" />
|
<GiftIcon className="h-3.5 w-3.5 shrink-0" />
|
||||||
<span className="hidden xl:inline">{t('nav.gift')}</span>
|
<span className="hidden 2xl:inline">{t('nav.gift')}</span>
|
||||||
</Link>
|
</Link>
|
||||||
)}
|
)}
|
||||||
{isAdmin && (
|
{isAdmin && (
|
||||||
@@ -382,7 +382,7 @@ export function AppShell({ children }: AppShellProps) {
|
|||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<ShieldIcon className="h-3.5 w-3.5 shrink-0" />
|
<ShieldIcon className="h-3.5 w-3.5 shrink-0" />
|
||||||
<span className="hidden xl:inline">{t('admin.nav.title')}</span>
|
<span className="hidden 2xl:inline">{t('admin.nav.title')}</span>
|
||||||
</Link>
|
</Link>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user