diff --git a/core/modules/tour/css/tour.module.css b/core/modules/tour/css/tour.module.css index eef5301..cb4f833 100644 --- a/core/modules/tour/css/tour.module.css +++ b/core/modules/tour/css/tour.module.css @@ -60,7 +60,11 @@ 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 { @@ -69,6 +73,11 @@ padding-right: 1em; } +[dir="rtl"] .joyride-content-wrapper { + /* Apply padding from parent .joyride-tip-guide to absolutely positioned children. */ + padding-left: 1em; +} + /* Mobile */ @media only screen and (max-width: 767px) { .joyride-tip-guide { @@ -138,8 +147,10 @@ right: 0; /* LTR */ top: 0; } + [dir="rtl"] .joyride-close-tip { left: 0; + right: auto; } .joyride-modal-bg {