mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fixed navbar for RTL layouts
This commit is contained in:
parent
d38518e1e5
commit
87190cf31a
6 changed files with 33 additions and 3 deletions
|
@ -55,6 +55,7 @@ import { currentSettings as userSettings } from './settings/userSettings';
|
|||
|
||||
if (isRTL) {
|
||||
document.getElementsByTagName('body')[0].setAttribute('dir', 'rtl');
|
||||
import('../styles/rtl.scss');
|
||||
} else {
|
||||
document.getElementsByTagName('body')[0].setAttribute('dir', 'ltr');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue