From: Jérémy Fabre Date: Thu, 22 Sep 2016 13:41:42 +0000 (+0200) Subject: Fix the home banners on homepage X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=66c9f7e42014786ba8ecb778bf5a9991b0197ebc;p=mezzo.git Fix the home banners on homepage --- diff --git a/app/static/src/sass/modules/_banner.scss b/app/static/src/sass/modules/_banner.scss index f3b22893..e3114c95 100644 --- a/app/static/src/sass/modules/_banner.scss +++ b/app/static/src/sass/modules/_banner.scss @@ -18,6 +18,12 @@ $module: ".banner"; } + @include mq($until: sm) { + + height: auto; + + } + &:hover { #{$module}__title:after { @@ -102,6 +108,13 @@ $module: ".banner"; height: 100%; z-index: 2; + @include mq($until: sm) { + + height: auto; + position: relative; + + } + @include padding(1); padding-top: 120px; text-align: center; @@ -116,6 +129,7 @@ $module: ".banner"; @include mq($until: sm) { padding-top: 75px; + padding-bottom: 75px; } }