seems fine

This commit is contained in:
Andras Schmelczer 2026-05-05 22:29:28 +01:00
parent 48983e3b4b
commit 7a1696541f
37 changed files with 4999 additions and 1242 deletions

View file

@ -156,15 +156,16 @@ export default function MobileMenu({
</button>
{/* Language selector */}
<div className="flex gap-1 px-4">
<div className="flex max-w-full gap-1 overflow-x-auto overflow-y-hidden px-4 pb-1 scrollbar-hide">
{SUPPORTED_LANGUAGES.map((lang) => (
<button
key={lang.code}
aria-label={lang.label}
onClick={() => {
localStorage.setItem('language', lang.code);
void changeAppLanguage(lang.code);
}}
className={`flex-1 flex items-center justify-center gap-1.5 px-2 py-2 rounded text-sm ${
className={`flex-none min-w-[2.75rem] flex items-center justify-center gap-1.5 px-2 py-2 rounded text-sm ${
i18n.language === lang.code
? 'bg-navy-700 text-white font-medium'
: 'text-warm-400 hover:bg-navy-800 hover:text-white'