mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
update lang switch
This commit is contained in:
@@ -64,7 +64,7 @@ export default function App() {
|
||||
|
||||
<div style={{ justifySelf: 'end' }}>
|
||||
<LanguageSwitch onClick={() => (currentLang === 'en' ? changeLang('ru') : changeLang('en'))}>
|
||||
{currentLang === 'en' ? 'RU' : 'EN'}
|
||||
{currentLang === 'en' ? 'ru' : 'en'}
|
||||
</LanguageSwitch>
|
||||
</div>
|
||||
</AppHeader>
|
||||
|
||||
@@ -76,7 +76,7 @@ export const LanguageSwitch = styled.div`
|
||||
font-weight: 500;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
color: #44795e;
|
||||
color: #eee;
|
||||
|
||||
:hover {
|
||||
background: #7ec9a3;
|
||||
@@ -85,6 +85,5 @@ export const LanguageSwitch = styled.div`
|
||||
@media (max-width: 700px) {
|
||||
height: 28px;
|
||||
width: 28px;
|
||||
font-size: 12px;
|
||||
}
|
||||
`
|
||||
|
||||
Reference in New Issue
Block a user