From b6a03db174c569fd1813cb5a4c047f4e782c242e Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Tue, 9 Feb 2021 15:02:10 +0100 Subject: [PATCH] =?UTF-8?q?T=C5=99i=20r=C5=AFzn=C3=A9=20zobrazen=C3=AD=20s?= =?UTF-8?q?eznamu=20recept=C5=AF=20dle=20displeje?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sass/style.scss | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/sass/style.scss b/sass/style.scss index a7639f0..08b5216 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -139,7 +139,6 @@ main { } @media screen and (max-width: 950px){ - main { margin:0; @@ -160,9 +159,15 @@ main { h2 { margin-top:0.85em; } section.list { - grid-template-columns: 1fr 1fr; + grid-template-columns: 1fr 1fr 1fr; } .filters input:first-child { grid-column: span 4; } } } + +@media screen and (max-width: 640px){ + main section.list { + grid-template-columns: 1fr 1fr; + } +}