Fixing a clipped order reference
In this demo receipt, a long order reference pushes the payment status outside the panel. The patch lets the reference wrap and keeps the status visible.
Before the patch
After the patch
The CSS patch
A bare 1fr track has an automatic minimum. Setting its minimum to zero allows the track to shrink. overflow-wrap: anywhere gives the reference a break point.
.order {
grid-template-columns: minmax(0, 1fr) auto;
}
.reference {
overflow-wrap: anywhere;
}
Have a frontend issue like this?
Vibe Coding offers AI-assisted React and CSS fixes from $75. Send the affected page, what you expected to happen, and the browser or device where you saw the issue.
Responsive layout audit · $75
Vibe Coding checks one page or React component at three viewport widths and an enlarged-text setting. You receive a short report with screenshots, measurements, and a proposed patch when you can share source or a minimal reproduction. The audit is AI-assisted.