diff --git a/app/bestellbestaetigung/components/BestellbestaetigungContent.tsx b/app/bestellbestaetigung/components/BestellbestaetigungContent.tsx index b88c21b..0b32894 100644 --- a/app/bestellbestaetigung/components/BestellbestaetigungContent.tsx +++ b/app/bestellbestaetigung/components/BestellbestaetigungContent.tsx @@ -189,9 +189,17 @@ export function BestellbestaetigungContent({ defaultTaxRate }: { defaultTaxRate: // already switches at sm: — intentional, not an inconsistent // leftover: the inner row has no fixed-width sidebar to fight for // room against, just two flexible columns. + // + // max-w-[36rem] between sm and lg (same fix/value as + // NewsletterModal.tsx's own dialog cap) — max-w-[56rem] (896px) + // doesn't actually constrain anything below that viewport width, + // so at real Tablet widths (640-1023px) this card stretched to + // fill the full page width instead of reading as a compact, + // centered card. Widens to the real 56rem cap only once lg:'s + // sidebar split kicks in and needs the room.
{/* Order meta */} diff --git a/app/components/TrustRow.tsx b/app/components/TrustRow.tsx index dfe58ff..c97198a 100644 --- a/app/components/TrustRow.tsx +++ b/app/components/TrustRow.tsx @@ -34,7 +34,17 @@ export async function TrustRow() {
-

{item.title}

+ {/* min-h reserves 2 lines worth of height (text-body's + line-height is 1.6rem) below lg: — titles are short + enough that some wrap to 2 lines in their narrow + stacked column and some don't, and without a reserved + height the description below started at a different + y-position from one badge to the next depending on + whether its own title happened to wrap. Reset to + min-h-0 at lg: (whitespace-nowrap there forces a + single line anyway, so the reservation would just add + unwanted empty space). */} +

{item.title}

{item.description}