Limit language switcher dropdown height with scrollbar
Local Build and Deploy / deploy (push) Successful in 1m8s

This commit is contained in:
openhands committed 2026-07-12 21:55:17 +02:00
1 parent efe467d352
commit b5179c682f
1 file changed
+1 -1
+1 -1
View File
@@ -76,7 +76,7 @@ export function LanguageSwitcher() {
</button>
{open && (
<div className="dropdown-menu absolute right-0 top-full mt-0.5 min-w-[160px] rounded-xl z-50 py-2">
<div className="dropdown-menu absolute right-0 top-full mt-0.5 min-w-[160px] max-h-[300px] overflow-y-auto rounded-xl z-50 py-2">
{LOCALES.map((l) => (
<button
key={l.code}