forked from MapComplete/MapComplete
Fix #1835
This commit is contained in:
parent
064c60163c
commit
4888da2ed3
1 changed files with 4 additions and 2 deletions
|
@ -40,11 +40,14 @@
|
|||
{#if availableLanguages?.length > 1}
|
||||
<form class={twMerge("flex max-w-full items-center pr-4", clss)}>
|
||||
<label
|
||||
for="pick-language"
|
||||
class="neutral-label flex max-w-full"
|
||||
use:ariaLabel={Translations.t.general.pickLanguage}
|
||||
>
|
||||
<LanguageIcon class="mr-1 h-4 w-4 shrink-0" aria-hidden="true" />
|
||||
<Dropdown cls="max-w-full" value={assignTo}>
|
||||
</label>
|
||||
|
||||
<Dropdown cls="max-w-full" value={assignTo} id="pick-language">
|
||||
{#if preferredFiltered}
|
||||
{#each preferredFiltered as language}
|
||||
<option value={language} class="font-bold">
|
||||
|
@ -70,6 +73,5 @@
|
|||
</option>
|
||||
{/each}
|
||||
</Dropdown>
|
||||
</label>
|
||||
</form>
|
||||
{/if}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue