fix(nav): control order is language -> mode -> theme in bar and sheet (supersedes Q12/Q15)

This commit is contained in:
dong.nguyen committed 2026-10-17 14:51:02 +07:00
1 parent d7ef4a28e4
commit 6cd665960a
7 files changed
+56 -51

No files matched your search

+9 -9
View File
@@ -81,6 +81,15 @@ export function Navigation() {
</ul>
<div className="nav-actions">
<button
className="nav-control lang-toggle"
onClick={toggleLang}
aria-label="Switch language"
title={`Switch to ${lang === 'en' ? 'Tiếng Việt' : 'English'}`}
>
{lang === 'en' ? 'VI' : 'EN'}
</button>
<button
className="nav-control theme-toggle"
onClick={cycleTheme}
@@ -99,15 +108,6 @@ export function Navigation() {
)}
</button>
<button
className="nav-control lang-toggle"
onClick={toggleLang}
aria-label="Switch language"
title={`Switch to ${lang === 'en' ? 'Tiếng Việt' : 'English'}`}
>
{lang === 'en' ? 'VI' : 'EN'}
</button>
<ThemePaletteMenu />
<button