From: Jérémy Fabre Date: Mon, 24 Oct 2016 13:01:37 +0000 (+0200) Subject: Fix the summary box shadow in event list X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=21feb837801cf57e4fa9cc09896c4c88215d8b08;p=mezzo.git Fix the summary box shadow in event list --- diff --git a/app/static/src/sass/modules/navs/_nav-tree.scss b/app/static/src/sass/modules/navs/_nav-tree.scss index 6eac3682..b48ff2ff 100644 --- a/app/static/src/sass/modules/navs/_nav-tree.scss +++ b/app/static/src/sass/modules/navs/_nav-tree.scss @@ -16,8 +16,18 @@ $module: ".nav-tree"; } + .nav-tree-wrapper & { + position: static; + } + .nav-tree & { position: relative; + + #{$module}__item { + &:first-child { + margin-top: 2px; + } + } } opacity: 1; @@ -41,6 +51,7 @@ $module: ".nav-tree"; border-left: 2px solid white; border-right: 2px solid white; border-bottom: 2px solid white; + border-top: 2px solid white; @include mq($until: sm) { border-top: 1px solid white; @@ -52,6 +63,10 @@ $module: ".nav-tree"; margin-top: 2px; + &:first-child { + margin-top: 0; + } + } &__separator { diff --git a/app/templates/agenda/event_list.html b/app/templates/agenda/event_list.html index 2b326470..e2a51329 100644 --- a/app/templates/agenda/event_list.html +++ b/app/templates/agenda/event_list.html @@ -92,6 +92,7 @@
+ {% if tag and not tag|tag_is_excluded or not tag and not is_archive %} {% endif %} - +