From e8a9a3f2baa6c1c9ee96f5a6d0b12b0b716dfa73 Mon Sep 17 00:00:00 2001 From: bruno Date: Thu, 6 Jun 2024 09:57:48 +0200 Subject: [PATCH] Fix meme css --- assets/style.css | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/assets/style.css b/assets/style.css index 377210b..1774152 100644 --- a/assets/style.css +++ b/assets/style.css @@ -409,15 +409,12 @@ div#articleslist>article{ #meme_gallery { display: grid; - grid-template-columns: 1fr 1fr 1fr; + grid-template-columns: repeat(auto-fit, minmax(385px, 1fr)); grid-auto-rows: 1fr; } @media (max-width: 1050px) { - #meme_gallery { - grid-template-columns: 1fr 1fr; - } table .rozvrh { overflow: auto; @@ -501,11 +498,4 @@ div#articleslist>article{ .navsite_link { width: 100%; } -} - -@media (max-width: 600px) { - - #meme_gallery { - grid-template-columns: 1fr; - } } \ No newline at end of file