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' }}>
|
<div style={{ justifySelf: 'end' }}>
|
||||||
<LanguageSwitch onClick={() => (currentLang === 'en' ? changeLang('ru') : changeLang('en'))}>
|
<LanguageSwitch onClick={() => (currentLang === 'en' ? changeLang('ru') : changeLang('en'))}>
|
||||||
{currentLang === 'en' ? 'RU' : 'EN'}
|
{currentLang === 'en' ? 'ru' : 'en'}
|
||||||
</LanguageSwitch>
|
</LanguageSwitch>
|
||||||
</div>
|
</div>
|
||||||
</AppHeader>
|
</AppHeader>
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ export const LanguageSwitch = styled.div`
|
|||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
display: grid;
|
display: grid;
|
||||||
place-items: center;
|
place-items: center;
|
||||||
color: #44795e;
|
color: #eee;
|
||||||
|
|
||||||
:hover {
|
:hover {
|
||||||
background: #7ec9a3;
|
background: #7ec9a3;
|
||||||
@@ -85,6 +85,5 @@ export const LanguageSwitch = styled.div`
|
|||||||
@media (max-width: 700px) {
|
@media (max-width: 700px) {
|
||||||
height: 28px;
|
height: 28px;
|
||||||
width: 28px;
|
width: 28px;
|
||||||
font-size: 12px;
|
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|||||||
Reference in New Issue
Block a user