From f1b15716dc67aafe363fee9bcf9fe025b8a4fa71 Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Fri, 25 Jun 2021 14:35:57 +0700 Subject: [PATCH] fixed hero card height on mobiles --- src/layouts/FlowLayout/styles.module.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layouts/FlowLayout/styles.module.scss b/src/layouts/FlowLayout/styles.module.scss index 34662ba1..62a5b17c 100644 --- a/src/layouts/FlowLayout/styles.module.scss +++ b/src/layouts/FlowLayout/styles.module.scss @@ -60,13 +60,13 @@ $cols: $content_width / $cell; @media (max-width: $cell_mobile) { // rework stamp, so it will be shown as smaller one on mobiles grid-template-columns: repeat(auto-fill, minmax(calc(50vw - 20px), 1fr)); - grid-template-rows: calc(100vw - 10px) auto 50vw; + grid-template-rows: calc(80vw - 10px) auto 50vw; grid-auto-rows: 50vw; } @media (max-width: ($fluid_cell + 5) * 1.5 + 20) { grid-template-columns: repeat(auto-fill, minmax(calc(50vw - 20px), 1fr)); - grid-template-rows: calc(100vw - 10px) auto 50vw; + grid-template-rows: calc(80vw - 10px) auto 50vw; grid-auto-rows: 50vw; } }