From 17bf38b9d23604f62e69f9d7f883e0e709d2ec69 Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Mon, 19 Jan 2015 11:27:52 +0000
Subject: [PATCH] Issue #2409197 by balagan, idebr, vacho: Add missing RTL css
 for the Tour dialog

---
 core/modules/tour/css/tour.module.css | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/core/modules/tour/css/tour.module.css b/core/modules/tour/css/tour.module.css
index eef5301fa9e8..6112b48f0baf 100644
--- a/core/modules/tour/css/tour.module.css
+++ b/core/modules/tour/css/tour.module.css
@@ -60,13 +60,20 @@
   z-index: 101;
   top: 0; /* keeps the page from scrolling when calculating position. */
   left: 0;
-  padding: 1em 1em 1.5em 1.5em;
+  padding: 1em 1em 1.5em 1.5em; /* LTR */
+}
+[dir="rtl"] .joyride-tip-guide {
+  padding: 1em 1.5em 1.5em 1em;
 }
 
 .joyride-content-wrapper {
   /* Apply padding from parent .joyride-tip-guide to absolutely positioned children. */
   position: relative;
-  padding-right: 1em;
+  padding-right: 1em; /* LTR */
+}
+[dir="rtl"] .joyride-content-wrapper {
+  padding-right: 0;
+  padding-left: 1em;
 }
 
 /* Mobile */
@@ -140,6 +147,7 @@
 }
 [dir="rtl"] .joyride-close-tip {
   left: 0;
+  right: auto;
 }
 
 .joyride-modal-bg {
-- 
GitLab