From: Jérémy Fabre Date: Thu, 3 Nov 2016 09:49:08 +0000 (+0100) Subject: Add/Remove the banner on mobile device on event list template X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=2cef36a87c7e9a6d7e09d59464c9ca21c555f48e;p=mezzo.git Add/Remove the banner on mobile device on event list template --- diff --git a/app/static/src/sass/global/_helpers.scss b/app/static/src/sass/global/_helpers.scss index 5c1bdd21..267f7da9 100755 --- a/app/static/src/sass/global/_helpers.scss +++ b/app/static/src/sass/global/_helpers.scss @@ -216,3 +216,18 @@ display: none !important; } } +.hide-from-sm { + @include mq($from: sm) { + display: none !important; + } +} +.hide-until-sm { + @include mq($until: sm) { + display: none !important; + } +} +.fsl-until-sm { + @include mq($until: sm) { + @include font-size(l); + } +} diff --git a/app/templates/agenda/event_list.html b/app/templates/agenda/event_list.html index ec42ce9c..06e91534 100644 --- a/app/templates/agenda/event_list.html +++ b/app/templates/agenda/event_list.html @@ -94,7 +94,7 @@
{% if tag and not tag|tag_is_excluded or not tag and not is_archive %} -