From 5d588c55b4039a8ecc4ea12ca38a4ada0a34184b Mon Sep 17 00:00:00 2001 From: Marco Date: Thu, 30 Jul 2026 13:47:50 +0000 Subject: [PATCH] Push the order-list card's 4-column breakpoint out to lg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit md (768px) still counts as mobile/tablet range — keep the 2-column layout through that whole range and only switch to 4 columns at real desktop widths (lg, 1024px). Co-Authored-By: Claude Sonnet 5 --- app/konto/bestellungen/page.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app/konto/bestellungen/page.tsx b/app/konto/bestellungen/page.tsx index 6ac41b6..dcef641 100644 --- a/app/konto/bestellungen/page.tsx +++ b/app/konto/bestellungen/page.tsx @@ -44,11 +44,11 @@ export default async function KontoBestellungenPage() { {/* One grid for the whole card, not two separate flex/grid groups — every field spans exactly 1 of the 4 tracks - (2 below md), so every row shares the exact same + (2 below lg), so every row shares the exact same column boundaries. 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 @@ -60,13 +60,13 @@ export default async function KontoBestellungenPage() { "always starts at the same position" alignment. Bestellnummer/Datum deliberately do NOT span 2 tracks — that would push Datum to start at the 3rd column - instead of the 2nd. Artikel forces md:col-start-1 so + instead of the 2nd. Artikel forces lg:col-start-1 so it wraps to its own row instead of Grid auto-flowing it into the 2 empty cells left in row 1. The - breakpoint is md (768px), not sm — this card lives - inside a max-w-[56rem] container with padding, so at - sm (640px) the card itself is still too narrow for 4 - columns to look right. */} + breakpoint is lg (1024px) so the 2-column layout + stays for the whole mobile/tablet range and only + switches to 4 columns once there's real desktop + width to fit it. */}

Bestellnummer

{order.orderNumber}

@@ -75,7 +75,7 @@ export default async function KontoBestellungenPage() {

Datum

{formatDate(order.createdAt)}

-
+

Artikel

{order.itemCount}