chore: RTL configuration (#6521)

* chore: RTL configuration

* Adds scss file
This commit is contained in:
Sivin Varghese
2023-02-23 17:50:44 +05:30
committed by GitHub
parent 87aabfbb9a
commit 409466bbd5
8 changed files with 511 additions and 3 deletions

View File

@@ -1,5 +1,10 @@
<template>
<div v-if="!authUIFlags.isFetching" id="app" class="app-wrapper app-root">
<div
v-if="!authUIFlags.isFetching"
id="app"
class="app-wrapper app-root"
:class="{ 'app-rtl--wrapper': isRTLView }"
>
<update-banner :latest-chatwoot-version="latestChatwootVersion" />
<transition name="fade" mode="out-in">
<router-view />
@@ -22,6 +27,7 @@ import NetworkNotification from './components/NetworkNotification';
import UpdateBanner from './components/app/UpdateBanner.vue';
import vueActionCable from './helper/actionCable';
import WootSnackbarBox from './components/SnackbarContainer';
import rtlMixin from 'shared/mixins/rtlMixin';
import {
registerSubscription,
verifyServiceWorkerExistence,
@@ -38,6 +44,8 @@ export default {
WootSnackbarBox,
},
mixins: [rtlMixin],
data() {
return {
showAddAccountModal: false,