Make mobile product cards easier to scan
Keep the essentials visible at narrow widths.
Start with the task and the source
Give an AI coding tool specific requirements and review the result one section at a time. Use the original record, approved brief or supplied specification as your starting point. The worked example below shows one way to organise the task; replace its assumptions only with information you have checked.
- Write down the input and the question you want to resolve.
- Separate confirmed facts from missing or ambiguous information.
- Follow the example with your own verified inputs, preserving units, scope and source references.
- Complete the review check before sending, publishing or acting on the result.
Work through the example
The starting point
A fictional card shows US$19 with an existing INR 999 alternative. At 390 px, its price and a fixed-width button push the card beyond the viewport.
What to do
Inspect the rendered widths, allow the lower row to wrap and preserve the actual values. Put the primary dollar price on its own line and the alternative underneath. Adjust the layout rather than shrinking every piece of text until it is difficult to read.
What the result means
Retest the longest title, both price labels and keyboard focus at narrow widths. Preserve the purchase destination and server-owned amounts: a visual fix should not silently become a price change.
Check before you use it
Check actual rendered cards for clipping, wrapping and keyboard focus.
Keep the original source available so you can compare it with the draft. Leave unresolved questions visible rather than filling them with guessed facts. An AI-generated draft is an aid to review; it does not perform a payment, send a message, publish content or establish a professional conclusion.
Optional prompt to organise your draft
Replace the bracketed placeholders with fictional or anonymised information. Do not paste credentials, payment details, client records or confidential family documents. Use the prompt to prepare a draft, then check it against the method above.
Review this product-card markup and CSS [code]. Suggest the smallest changes to preserve image ratio, readable title, short summary, USD-first price with the supplied INR alternative and a clear link at 390 px width. Preserve existing destinations and actual amounts. Explain any overflow cause.