diff --git a/app/konto/bestellungen/page.tsx b/app/konto/bestellungen/page.tsx index c0ae6cf..c488039 100644 --- a/app/konto/bestellungen/page.tsx +++ b/app/konto/bestellungen/page.tsx @@ -52,11 +52,13 @@ export default async function KontoBestellungenPage() { same column boundaries regardless of viewport. Below 500px there just isn't room for 4 tracks without badges overflowing their column, so it drops to 2 - columns; the 6 fields in DOM order already tile into - exactly Bestellnummer/Datum, Artikel/Status, - Zahlungsstatus/Gesamtbetrag without any reordering. - Plain flex-wrap here (as this used to be) sized every - field to its own content width, so e.g. + columns; the 6 fields are ordered Bestellnummer/Datum, + Status/Zahlungsstatus, Artikel/Gesamtbetrag so the two + colored badges land in one row together (visually + calmer than being split across two rows) and + Artikel/Gesamtbetrag pair up as the two "quantity" + fields. Plain flex-wrap here (as this used to be) + sized every field to its own content width, so 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 @@ -67,11 +69,12 @@ export default async function KontoBestellungenPage() { Bestellnummer/Datum deliberately do NOT span 2 tracks in the 2-column layout — that would stack them into their own full-width row each instead of - keeping them side by side. Artikel forces col-start-1 - so it wraps to its own row in the 4-column layout - instead of Grid auto-flowing it into the 2 empty - cells left in row 1 (harmless no-op in the 2-column - layout, where it's already first in row 2 anyway). */} + keeping them side by side. No col-start forcing + needed for Artikel here (unlike the previous field + order) — Bestellnummer/Datum/Status/Zahlungsstatus + already fill all 4 tracks of the first row exactly, + so Grid wraps Artikel/Gesamtbetrag to row 2 on its + own. */}
Bestellnummer
{order.orderNumber}
@@ -80,10 +83,6 @@ export default async function KontoBestellungenPage() {Datum
{formatDate(order.createdAt)}
Artikel
-{order.itemCount}
-Status
Zahlungsstatus
Artikel
+{order.itemCount}
+Gesamtbetrag
{formatPrice(order.total)}