From bd03a39e23a4e41bdd5468245ca6875b3b2ba2b7 Mon Sep 17 00:00:00 2001
From: Ghazi Triki <ghazi.triki@riadvice.tn>
Date: Thu, 16 May 2019 17:27:43 +0100
Subject: [PATCH] Minor fixes for RTL.

---
 bigbluebutton-html5/client/stylesheets/toggleSwitch.css         | 2 +-
 bigbluebutton-html5/imports/ui/components/dropdown/styles.scss  | 2 +-
 .../imports/ui/stylesheets/mixins/_indicators.scss              | 1 +
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/bigbluebutton-html5/client/stylesheets/toggleSwitch.css b/bigbluebutton-html5/client/stylesheets/toggleSwitch.css
index f8a247c7c6..afb10cd298 100644
--- a/bigbluebutton-html5/client/stylesheets/toggleSwitch.css
+++ b/bigbluebutton-html5/client/stylesheets/toggleSwitch.css
@@ -64,7 +64,7 @@
 }
 
 .react-toggle-track-check:dir(rtl) {
-  left: 1.1rem;
+  left: 0.8rem;
 }
 
 .react-toggle--checked .react-toggle-track-check {
diff --git a/bigbluebutton-html5/imports/ui/components/dropdown/styles.scss b/bigbluebutton-html5/imports/ui/components/dropdown/styles.scss
index 643f3c8a90..1a6e4ba704 100755
--- a/bigbluebutton-html5/imports/ui/components/dropdown/styles.scss
+++ b/bigbluebutton-html5/imports/ui/components/dropdown/styles.scss
@@ -11,7 +11,7 @@
   --dropdown-caret-height: 8px;
 
   --rtl-caret-offset: -0.4375rem;
-  --rtl-content-offset: 11.3rem;
+  --rtl-content-offset: 10.75rem;
 }
 
 .dropdown {
diff --git a/bigbluebutton-html5/imports/ui/stylesheets/mixins/_indicators.scss b/bigbluebutton-html5/imports/ui/stylesheets/mixins/_indicators.scss
index 99b1f2f178..b57a542eb4 100644
--- a/bigbluebutton-html5/imports/ui/stylesheets/mixins/_indicators.scss
+++ b/bigbluebutton-html5/imports/ui/stylesheets/mixins/_indicators.scss
@@ -14,6 +14,7 @@
     [dir="rtl"] & {
       left: auto;
       right: var(--user-indicators-offset);
+      letter-spacing: -.33rem;
     }
   }
 
-- 
GitLab