commit 3259d51444c68c1b23402521f4269ed57b1c79f1 parent fa12bc4eb14318e60df9f957597d75e050366d67 Author: Florian Dold <dold@taler.net> Date: Wed, 4 Nov 2026 00:54:48 +0100 merchant web UI: fix language selector spacing Diffstat:
| M | packages/taler-merchant-webui/src/ui/Menu.tsx | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/packages/taler-merchant-webui/src/ui/Menu.tsx b/packages/taler-merchant-webui/src/ui/Menu.tsx @@ -199,8 +199,8 @@ export function Menu({ </nav> {/* Language Selector */} - <div class="pt-3 border-t border-gray-800 flex items-center justify-between text-xs mb-2"> - <span class="font-medium text-gray-500">{t`Language:`}</span> + <div class="pt-3 border-t border-gray-800 flex items-center gap-2 text-xs mb-2"> + <span class="shrink-0 font-medium text-gray-500">{t`Language:`}</span> <select value={lang} onChange={(e) => @@ -208,7 +208,7 @@ export function Menu({ e.currentTarget.value as Parameters<typeof setLanguage>[0], ) } - class="px-2 py-1 bg-gray-800 text-gray-200 border border-gray-700 rounded text-xs font-semibold focus:outline-none focus:ring-1 focus:ring-taler-brand cursor-pointer" + class="min-w-0 flex-1 px-2 py-1 bg-gray-800 text-gray-200 border border-gray-700 rounded text-xs font-semibold focus:outline-none focus:ring-1 focus:ring-taler-brand cursor-pointer" > {languages.map((l) => ( <option key={l.code} value={l.code}>