store: .cart-line name column collapses to 0px at <=390px, overlapping the qty stepper #58
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?
Found by
Reviewer55r1while reviewing PR #55. Pre-existing on55f5d72— live on the production checkout screen at common phone widths.The defect
.cart-lineinapps/store/app/globals.css:The
autocontrols column takesmax-content, collapsing the name/meta column to 0px at 390 / 375 / 360 / 320px. Measured on a stocked-only line, DOM identical toorigin/main, so nothing from #47 is needed to trigger it:−buttonHapussits on top of the priceThe cart is the conversion surface — the screen a buyer uses immediately before sending the WhatsApp order — and 375–390px covers most phones in this market.
Status — likely fixed incidentally
PR #55 fixes this as a side effect of laying out the indent annotation, using a 600px breakpoint. Its reviewer verified across 18 viewports from 320 to 1440: zero overlap, zero overflow, desktop untouched, and judged 600px better-reasoned than the 480px it first suggested.
Verification
/cartwith at least one line at 320, 360, 375, 390, 600px; assert the name/meta column has non-zero width and no two elements overlap.Hapus, since the collapse is driven bymax-contenton the controls column.overflowXis 0 at every width.Acceptance
No overlap and no horizontal overflow on
/cartfrom 320px up, on stocked and indent lines, with a long product name; desktop layout unchanged.