mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 13:01:00 +00:00
fix(nav): keep long More-menu tile labels inside their tile
The More hub grid tile label was a flex child without min-w-0, so long compound labels (e.g. "Benachrichtigungen") painted past the tile's rounded border instead of wrapping. Give the span min-w-0 and tightened leading so it wraps cleanly within the tile. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
3ad1a8ab25
commit
4111124f24
1 file changed
+3
-1
@@ -255,7 +255,9 @@ export function BottomNav() {
|
||||
)}
|
||||
>
|
||||
<item.icon className="h-5 w-5 shrink-0" aria-hidden="true" />
|
||||
<span className="text-sm font-medium">{t(item.tKey)}</span>
|
||||
<span className="min-w-0 text-sm font-medium leading-tight">
|
||||
{t(item.tKey)}
|
||||
</span>
|
||||
</Link>
|
||||
);
|
||||
})}
|
||||
|
||||
Reference in new issue
Block a user