Fix miss alignment of lang menu

This commit is contained in:
nemunaire 2023-02-09 11:48:26 +01:00
parent 9d1dcb331b
commit bf81834af7

View File

@ -56,7 +56,7 @@
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
{{ .Language }} {{ .Language }}
</a> </a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown"> <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown">
{{ range .Site.Home.AllTranslations }} {{ range .Site.Home.AllTranslations }}
<a href="{{ .Permalink }}" class="dropdown-item">{{ .Language }}</a> <a href="{{ .Permalink }}" class="dropdown-item">{{ .Language }}</a>
{{ end }} {{ end }}