fix(management): make mobile bottom navigation items uniform in width #174
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Problem
Mobile bottom navigation items have varying widths based on text label length because the nav container uses
justify-aroundand child items lackflex-1 basis-0. Shorter labels ("Stok", "Dasbor") have narrower click targets and uneven distribution compared to longer labels ("Pembelian", "Penjualan", "Pengaturan").Acceptance Criteria
apps/management/components/dashboard-nav.tsx, each item in the mobile bottom navigation bar (<nav>) usesflex-1 basis-0 min-w-0and balanced padding to ensure uniform widths and hit areas.truncate max-w-full text-centerto prevent wrapping or overflowing on small screens.pnpm --filter garage test,pnpm --filter garage typecheck, and.forgejo/scripts/biome-gate.sh.