fix(management): make mobile bottom navigation items uniform in width #175
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/174-uniform-bottom-nav-widths"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #174
What changed
<nav>container inapps/management/components/dashboard-nav.tsxfromjustify-around px-2topx-1.flex-1 basis-0 min-w-0and set padding topx-1on all 5 bottom navigation items (4 links and 1 settings trigger button) so each item occupies equal width regardless of label text length.truncate max-w-full text-centerto all label spans to prevent text wrapping or overflowing on small screens.Verified
pnpm --filter garage test: passed (27 files, 516 tests passed).pnpm --filter garage typecheck: passed..forgejo/scripts/biome-gate.sh: passed with no regressions.biome check apps/management/components/dashboard-nav.tsx: clean.Deviations
None.
VERDICT: approve
now uses px-1 without justify-around; all four Link items and the Pengaturan button have flex-1 basis-0 min-w-0, px-1 py-1, and min-h-[44px] justify-center; both label templates apply truncate max-w-full text-center to all five labels. The diff touches only dashboard-nav.tsx, with no unrelated changes or identified regressions. The PR reports pnpm --filter garage test, pnpm --filter garage typecheck, and .forgejo/scripts/biome-gate.sh passed locally; Forgejo CI is still pending at review time.Reviewed PR #175 against Issue #174: the mobile