1
0
Fork 0
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:
Hadi Charara 2022-07-03 11:58:08 -04:00
parent d38518e1e5
commit 87190cf31a
6 changed files with 33 additions and 3 deletions

View file

@ -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');
}