From 91b374021168d86eaf17183b03a01b7e7e696240 Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Tue, 2 Nov 2021 19:32:07 +0100 Subject: [PATCH] =?UTF-8?q?Responzivn=C3=AD=20galerie?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sass/main.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sass/main.scss b/sass/main.scss index a84e22e..26e6b76 100644 --- a/sass/main.scss +++ b/sass/main.scss @@ -427,7 +427,10 @@ main { column-gap: 1em; row-gap: 1em; - img { display: block } + img { + display: block; + width: 100%; + } } .gallery:not(.index) a:hover img { box-shadow: 0px 1px 9px #00000088 } .gallery.index { @@ -664,6 +667,7 @@ table { main .blocks { grid-template-columns: 1fr } main .websites { grid-template-columns: 1fr 1fr 1fr } main .people-list .group { grid-template-columns: 1fr } + main .gallery { grid-template-columns: 1fr 1fr } } @media screen and (max-width: 640px){