diff --git a/app/konto/bestellungen/page.tsx b/app/konto/bestellungen/page.tsx index 56ff795..1d02d4f 100644 --- a/app/konto/bestellungen/page.tsx +++ b/app/konto/bestellungen/page.tsx @@ -49,60 +49,48 @@ export default async function KontoBestellungenPage() { {/* Below sm (640px): 2 columns, plain DOM order — Bestellnummer/Datum, Status/Zahlungsstatus, Artikel/Gesamtbetrag tile into exactly those 3 pairs - on their own, no reordering needed. From sm up: 4 - columns, with - Bestellnummer/Datum on their own row and - Artikel/Status/Zahlungsstatus/Gesamtbetrag together - on the row below, in that order — done via - sm:order-* rather than changing the actual - DOM order, so the mobile pairing above stays - untouched. Artikel carries both order-3 (first in - the second row) and col-start-1 (so it actually - wraps to a new row instead of Grid auto-flowing it - into the 2 empty cells left after Bestellnummer/ - Datum) — order alone only controls placement - sequence, not which row/column an item lands in. A - grid's column tracks are fixed by the container - width, identical on every card regardless of - content — unlike the plain flex-wrap this used to - be, where e.g. "Status"/"Zahlungsstatus" started at - a different x position from one order card to the - next depending on how wide that particular badge's - label happened to be. - - Bestellnummer additionally forces sm:col-start-2 — - without it, the top row's 2 items (only spanning 2 - of the 4 tracks) pack flush left with all the - leftover space on the right, an asymmetric margin - against the card's edges. Starting Bestellnummer at - column 2 instead of 1 centers that pair within the - row (column 1 and column 4 both stay empty), while - each cell's own content (the label/value pair) stays - left-aligned within itself. Datum needs no override - of its own — with column 2 already taken, its - order-2 auto-places it into column 3, the next open - cell. */} -
Bestellnummer
{order.orderNumber}
Datum
{formatDate(order.createdAt)}
Status
Zahlungsstatus
Artikel
{order.itemCount}
Gesamtbetrag
{formatPrice(order.total)}