From 66c9f7e42014786ba8ecb778bf5a9991b0197ebc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Je=CC=81re=CC=81my=20Fabre?= Date: Thu, 22 Sep 2016 15:41:42 +0200 Subject: [PATCH] Fix the home banners on homepage --- app/static/src/sass/modules/_banner.scss | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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; } } -- 2.39.5