fix: mobile nav item width

This commit is contained in:
shinya
2025-07-31 02:04:01 +08:00
parent 9d0acf6308
commit c8af52ebf0
3 changed files with 7 additions and 3 deletions

View File

@@ -1 +1 @@
20250731011829
20250731020402

View File

@@ -87,7 +87,11 @@ const MobileBottomNav = ({ activePath }: MobileBottomNavProps) => {
{navItems.map((item) => {
const active = isActive(item.href);
return (
<li key={item.href} className='flex-shrink-0 w-20 min-w-20'>
<li
key={item.href}
className='flex-shrink-0'
style={{ width: '20vw', minWidth: '20vw' }}
>
<Link
href={item.href}
className='flex flex-col items-center justify-center w-full h-14 gap-1 text-xs'

View File

@@ -2,7 +2,7 @@
'use client';
const CURRENT_VERSION = '20250731011829';
const CURRENT_VERSION = '20250731020402';
// 版本检查结果枚举
export enum UpdateStatus {