From 04289d080f0399f474d81a40b87004ff0cafcdfb Mon Sep 17 00:00:00 2001 From: Silke Pisulla Date: Fri, 6 Jan 2017 10:05:54 +0100 Subject: [PATCH] sidebar: last LI without border-bottom --- css/area_main-sidebar.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/css/area_main-sidebar.less b/css/area_main-sidebar.less index 6a47f20..7b9652d 100644 --- a/css/area_main-sidebar.less +++ b/css/area_main-sidebar.less @@ -52,13 +52,13 @@ /* + + + first level + + + */ > li { + counter-increment: nav-counter; position: relative; list-style-type: none; margin: 0; padding: 0 0 .3em; - counter-increment: nav-counter; - &::after { + &:not(:last-of-type)::after { content: ''; position: absolute; left: 0;