Regression: width of language picker

This commit is contained in:
Pieter Vander Vennet 2023-12-23 22:21:27 +01:00
parent 7dbef4c68e
commit 9c96f65a33
2 changed files with 2 additions and 2 deletions

View file

@ -63,7 +63,7 @@
<div class="m-4 flex flex-col">
<LanguagePicker
clss="self-end"
clss="self-end max-w-full"
assignTo={state.language}
availableLanguages={t.title.SupportedLanguages()}
preferredLanguages={userLanguages}

View file

@ -39,7 +39,7 @@
{#if availableLanguages?.length > 1}
<form class={twMerge("flex max-w-full items-center pr-4", clss)}>
<label class="neutral-label flex" use:ariaLabel={Translations.t.general.pickLanguage}>
<label 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}>
{#if preferredFiltered}