Use inline SVG globe for language switcher icon

This commit is contained in:
2026-05-13 23:16:17 +02:00
parent e974029f9f
commit daf5e16734

View File

@@ -14,9 +14,13 @@
aria-expanded="false" aria-expanded="false"
aria-label="{% trans 'Language switcher' %}" aria-label="{% trans 'Language switcher' %}"
> >
<i class="fa fa-globe language-icon" aria-hidden="true"></i> <svg class="language-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="18" height="18" aria-hidden="true" focusable="false">
<svg class="language-chevron" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" width="10" height="10" aria-hidden="true" focusable="false"> <g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M5 7.5 10 12.5 15 7.5" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" /> <circle cx="12" cy="12" r="9" />
<path d="M3 12h18" />
<path d="M12 3c3 3.5 3 14.5 0 18" />
<path d="M12 3c-3 3.5-3 14.5 0 18" />
</g>
</svg> </svg>
</button> </button>
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="header-language-switcher"> <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="header-language-switcher">