From 7776236f21a42be65b1731c821283c296f89dd57 Mon Sep 17 00:00:00 2001 From: Jalil Arfaoui Date: Tue, 14 Apr 2026 18:14:15 +0200 Subject: [PATCH] =?UTF-8?q?Photo=20blog=20:=20grille=20featured=20en=20col?= =?UTF-8?q?onnes=20fixes=20(2=20cols,=204=20cols=20au-dessus=20de=201600px?= =?UTF-8?q?)=20pour=20=C3=A9viter=20les=20trous=20=C3=A0=20certaines=20tai?= =?UTF-8?q?lles=20d'=C3=A9cran?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/photo/pages/PhotoBlogIndexContent.astro | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/photo/pages/PhotoBlogIndexContent.astro b/src/components/photo/pages/PhotoBlogIndexContent.astro index a6b8df9..1f98c67 100644 --- a/src/components/photo/pages/PhotoBlogIndexContent.astro +++ b/src/components/photo/pages/PhotoBlogIndexContent.astro @@ -124,10 +124,16 @@ const regularPosts = postsWithImages.filter(post => !post.data.featured); .featured-grid { display: grid; - grid-template-columns: repeat(auto-fit, minmax(500px, 1fr)); + grid-template-columns: repeat(2, 1fr); gap: 16px; } +@media (min-width: 1600px) { + .featured-grid { + grid-template-columns: repeat(4, 1fr); + } +} + .featured-post { position: relative; height: 450px;