From 46b957095a611b4afa18dfbe772a22dba03672eb Mon Sep 17 00:00:00 2001 From: guillaume-haerinck Date: Sat, 26 Nov 2022 11:50:26 +0100 Subject: [PATCH] Use SVG path for down carret as the css one has issues when solo menu --- assets/css/common/header.css | 9 --------- layouts/partials/header.html | 4 +++- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/assets/css/common/header.css b/assets/css/common/header.css index e141e84d..40c84a00 100644 --- a/assets/css/common/header.css +++ b/assets/css/common/header.css @@ -115,12 +115,3 @@ body:not(.dark) #sun { .sub-menu:hover { visibility: visible; } - -.arrow-down { - border-left: 5px solid transparent; - border-right: 5px solid transparent; - border-top: 5px solid var(--primary); - position: relative; - top: 1em; - left: 6px; -} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 52e8a74f..3cc1d757 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -142,7 +142,9 @@ {{- end }} {{ if .HasChildren }} - + + + {{ end }} {{ if .HasChildren }}