From bf48a1561cad75fc02f5cd48e377da4fdddf053a Mon Sep 17 00:00:00 2001 From: Marco Date: Tue, 25 Aug 2026 20:35:53 +0000 Subject: [PATCH] Home Blog featured post: stack image-then-text through 1024px, not 640px Side-by-side kicked in at sm (640px), squeezing the text column hard on tablet widths. Moved the breakpoint to lg (1024px), matching the secondary posts' grid below, which already used lg for the same reason. --- app/components/Blog.tsx | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/app/components/Blog.tsx b/app/components/Blog.tsx index 242246a..b0e313d 100644 --- a/app/components/Blog.tsx +++ b/app/components/Blog.tsx @@ -32,25 +32,28 @@ export async function Blog() { {/* Posts grid */} - {/* Featured post — image on top on Mobile, side-by-side from sm+. + {/* Featured post — image on top through lg (1024px), side-by-side + only from lg+ (was sm+, but that squeezed the text column too + hard on tablet widths — same reasoning as the secondary posts' + grid below, which already used this lg breakpoint). lg:min-h stretches the row taller on large screens (the image's - sm:h-full and the text column's justify-between both follow) — + lg:h-full and the text column's justify-between both follow) — without it the card's height was purely driven by the text column's content, which stays short regardless of viewport width. */} - -
+ +
{featured.thumbnail && ( )}
-
+
{featured.categories.join(", ")} @@ -64,7 +67,7 @@ export async function Blog() { > {featured.title}

-

+

{featured.excerpt}