Limit language switcher dropdown height with scrollbar
Local Build and Deploy / deploy (push) Successful in 1m8s
Local Build and Deploy / deploy (push) Successful in 1m8s
This commit is contained in:
1 parent
efe467d352
commit
b5179c682f
1 file changed
+1
-1
@@ -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}
|
||||
|
||||
Reference in new issue
Block a user