diff --git a/app/components/NewsletterModal.tsx b/app/components/NewsletterModal.tsx index fba723a..a4bbd1d 100644 --- a/app/components/NewsletterModal.tsx +++ b/app/components/NewsletterModal.tsx @@ -144,7 +144,17 @@ export function NewsletterModal({ open, onClose }: { open: boolean; onClose: () animate={{ opacity: 1, y: 0, scale: 1 }} exit={{ opacity: 0, y: 16, scale: 0.97 }} transition={{ duration: 0.3, ease: [0.22, 1, 0.36, 1] }} - className="relative bg-bg-base rounded-md overflow-hidden w-full max-w-[75rem] max-h-[90vh] overflow-y-auto" + // Capped narrower than the Desktop 75rem through the whole + // 640-1023px Tablet band — this dialog is a modal, not a page + // section, so at Tablet it should read as a compact centered + // card, not stretch to near-full-viewport-width once stacked + // single-column (see the flex-col/flex-row split below): + // full-bleed-width + a single stacked photo/text column made + // the photo huge and the text below it look lost/disconnected + // (reported 2026-07-29, after first trying a lg:-gated + // structural stack with no width cap). max-w-[75rem] only + // takes over once the 2-column split itself starts at lg:. + className="relative bg-bg-base rounded-md overflow-hidden w-full max-w-[36rem] lg:max-w-[75rem] max-h-[90vh] overflow-y-auto" > - {/* modal-top: photo + copy/form, stacked below sm (moved down from the old md:) */} -
-
+ {/* modal-top: photo + copy/form, stacked below lg: — paired with + the dialog's own narrower max-w-[36rem] cap through Tablet + (see above), so the stacked photo stays a reasonably-sized + 4:3 banner instead of blowing up to near-full-viewport-width. */} +
+
Notizbuch mit Kaffee und Stift
@@ -172,8 +185,8 @@ export function NewsletterModal({ open, onClose }: { open: boolean; onClose: () {/* -scale-y-100 is required, not just -rotate-4 — the SVG itself is authored upside-down (matches how Newsletter.tsx uses this exact same asset); without it the icon renders - flipped. Hidden below sm: — removed on mobile 2026-07-24. */} -
+ flipped. Hidden below lg: — removed on mobile 2026-07-24. */} +
@@ -263,7 +276,9 @@ export function NewsletterModal({ open, onClose }: { open: boolean; onClose: () items-start + a fixed icon bounding box (icons have different native proportions, e.g. the sparkle glyph isn't square) fixes it without needing the flip trick. */} -
+ {/* Same lg: exception as modal-top above, for the same narrower- + dialog-width-through-Tablet reason. */} +
{features.map((f) => (