From 6b8ba44d461ed0f430ac17523911adbbe5fc6868 Mon Sep 17 00:00:00 2001 From: Marco Date: Thu, 30 Jul 2026 21:36:57 +0000 Subject: [PATCH] Shop overview: 2 products per row through tablet, 4 only from lg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Was 4-up from sm (640px) — too narrow a card through the 640-1023px tablet range. True mobile (below sm) unchanged. Co-Authored-By: Claude Sonnet 5 --- app/shop/components/ProductGrid.tsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/app/shop/components/ProductGrid.tsx b/app/shop/components/ProductGrid.tsx index e3bb959..dc24e31 100644 --- a/app/shop/components/ProductGrid.tsx +++ b/app/shop/components/ProductGrid.tsx @@ -31,7 +31,11 @@ export async function ProductGrid() { return (
- + {/* 2-up from the mobile breakpoint (sm, 640px) through 1023px — was + sm:grid-cols-12 with each card sm:col-span-3 (4-up), too narrow a + card through that tablet range. 4-up now only kicks in at lg + (1024px), true mobile (below sm) unchanged. */} + {products.map((product) => { const discount = discountPercent(product.price, product.compareAtPrice); const taxRate = effectiveTaxRate(product, defaultTaxRate); @@ -48,14 +52,14 @@ export async function ProductGrid() { return (
{product.name} {fullyOutOfStock ? (