From 2cef36a87c7e9a6d7e09d59464c9ca21c555f48e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Je=CC=81re=CC=81my=20Fabre?= Date: Thu, 3 Nov 2016 10:49:08 +0100 Subject: [PATCH] Add/Remove the banner on mobile device on event list template --- app/static/src/sass/global/_helpers.scss | 15 +++++++++++++++ app/templates/agenda/event_list.html | 16 +++++++++++++++- 2 files changed, 30 insertions(+), 1 deletion(-) 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 %} -
-- 2.39.5