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