mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-22 09:15:33 +03:00
Make lang selector smaller
This commit is contained in:
parent
1a3751ff16
commit
b351060fa7
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@ export default function LangSelector() {
|
||||||
<label class="lang-selector">
|
<label class="lang-selector">
|
||||||
🌐{' '}
|
🌐{' '}
|
||||||
<select
|
<select
|
||||||
|
class="small"
|
||||||
value={i18n.locale || DEFAULT_LANG}
|
value={i18n.locale || DEFAULT_LANG}
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
localStorage.setItem('lang', e.target.value);
|
localStorage.setItem('lang', e.target.value);
|
||||||
|
|
Loading…
Reference in a new issue