diff --git a/app/javascript/dashboard/App.vue b/app/javascript/dashboard/App.vue
index e51958e9e..fac53434f 100644
--- a/app/javascript/dashboard/App.vue
+++ b/app/javascript/dashboard/App.vue
@@ -84,6 +84,12 @@ export default {
}
},
},
+ isRTL: {
+ immediate: true,
+ handler() {
+ this.setElementDir(this.isRTL ? 'rtl' : 'ltr');
+ },
+ },
},
mounted() {
this.initializeColorTheme();
@@ -96,6 +102,11 @@ export default {
}
},
methods: {
+ setElementDir(dir) {
+ // Set dir on document and body
+ document.documentElement.dir = dir;
+ document.body.dir = dir;
+ },
initializeColorTheme() {
setColorTheme(window.matchMedia('(prefers-color-scheme: dark)').matches);
},
diff --git a/app/javascript/dashboard/components-next/NewConversation/components/InboxSelector.vue b/app/javascript/dashboard/components-next/NewConversation/components/InboxSelector.vue
index 7794d5bdd..3cafacb21 100644
--- a/app/javascript/dashboard/components-next/NewConversation/components/InboxSelector.vue
+++ b/app/javascript/dashboard/components-next/NewConversation/components/InboxSelector.vue
@@ -83,7 +83,7 @@ const targetInboxLabel = computed(() => {