Removed empty spaces shown when language supression used

This commit is contained in:
Connor Yoh 2025-04-10 10:01:04 +01:00
parent 5159fd9f29
commit 48fe081673

View File

@ -1,6 +1,6 @@
<th:block th:fragment="languageEntry(code, name)">
<div class="lang-dropdown-item-wrapper">
<a th:if="${code} == 'en_GB' or ${#lists.isEmpty(@languages) or #lists.contains(@languages, code)}"
<div th:if="${code} == 'en_GB' or ${#lists.isEmpty(@languages) or #lists.contains(@languages, code)}" class="lang-dropdown-item-wrapper">
<a
class="dropdown-item lang_dropdown-item" href="" th:data-bs-language-code="@{${code}}" th:text="${name}">
</a>
</div>