From 21feb837801cf57e4fa9cc09896c4c88215d8b08 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Je=CC=81re=CC=81my=20Fabre?= Date: Mon, 24 Oct 2016 15:01:37 +0200 Subject: [PATCH] Fix the summary box shadow in event list --- .../src/sass/modules/navs/_nav-tree.scss | 15 +++ app/templates/agenda/event_list.html | 126 +++++++++--------- 2 files changed, 81 insertions(+), 60 deletions(-) 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 %} - +
-- 2.39.5