From 7e412e964ba91b0b56350996ed3eaf14f014b4df Mon Sep 17 00:00:00 2001 From: lostinlight Date: Tue, 27 Mar 2018 05:18:10 +0300 Subject: [PATCH] Fix map on tablet view --- .../starter/source/assets/scss/modules/_index.scss | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/themes/starter/source/assets/scss/modules/_index.scss b/themes/starter/source/assets/scss/modules/_index.scss index 6771515..2098a35 100644 --- a/themes/starter/source/assets/scss/modules/_index.scss +++ b/themes/starter/source/assets/scss/modules/_index.scss @@ -287,7 +287,8 @@ .grid__item { position: static; - flex: 40% 0 0; + flex: 50% 0 0; + align-items: center; margin: 0 auto; display: flex; } @@ -296,6 +297,11 @@ margin-left: 2em; } + .grid__item__image, + .grid__item__title { + flex: initial; + } + .grid__card:before { opacity: 1; } @@ -312,11 +318,6 @@ height: 30px; } - .grid__item__image, - .grid__item__title { - flex: initial; - } - .grid__item__title { font-size: 1rem; }