feat(rtl): apply same mechanism for login/desktop/mobile

This commit is contained in:
Elian Doran
2025-10-09 19:12:46 +03:00
parent 6f51d82f82
commit 2936a537cf
8 changed files with 23 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
import $ from "jquery";
async function loadBootstrap() {
if (glob.isRtl) {
if (document.body.dir === "rtl") {
await import("bootstrap/dist/css/bootstrap.rtl.min.css");
} else {
await import("bootstrap/dist/css/bootstrap.min.css");