Use SVG path for down carret as the css one has issues when solo menu

This commit is contained in:
guillaume-haerinck 2022-11-26 11:50:26 +01:00
parent 9dc03b05c7
commit 46b957095a
2 changed files with 3 additions and 10 deletions

View File

@ -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;
}

View File

@ -142,7 +142,9 @@
</svg>
{{- end }}
{{ if .HasChildren }}
<i class="arrow-down"></i>
<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" fill="currentColor" viewBox="0 0 14 14">
<path d="M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z"/>
</svg>
{{ end }}
</a>
{{ if .HasChildren }}