From 02bcd69e2eae766694bfd96cd920bb37084c4d6b Mon Sep 17 00:00:00 2001 From: Brian Teeman Date: Mon, 13 Jan 2020 11:09:15 +0000 Subject: [PATCH 1/2] [4.0] RTL Switcher label (#27504) Fixes the switcher label on RTL displays --- build/media_source/system/scss/fields/switcher.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/build/media_source/system/scss/fields/switcher.scss b/build/media_source/system/scss/fields/switcher.scss index ab473b2433132..1c5488eafc541 100644 --- a/build/media_source/system/scss/fields/switcher.scss +++ b/build/media_source/system/scss/fields/switcher.scss @@ -124,6 +124,7 @@ $switcher-height: 28px; [dir=rtl] & { margin-left: 0; + margin-right: -220px; float: right; text-align: right; } From aebcf85a62e6f9b875ed76ded0506d6193491643 Mon Sep 17 00:00:00 2001 From: Brian Teeman Date: Mon, 13 Jan 2020 11:09:55 +0000 Subject: [PATCH 2/2] [4.0] RTL Header logo (#27503) Fixes a missing class for the logo on rtl so that there is a margin right. --- administrator/templates/atum/scss/template-rtl.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/administrator/templates/atum/scss/template-rtl.scss b/administrator/templates/atum/scss/template-rtl.scss index 53a3c5a9b6276..6938863628eb1 100644 --- a/administrator/templates/atum/scss/template-rtl.scss +++ b/administrator/templates/atum/scss/template-rtl.scss @@ -64,6 +64,8 @@ body { margin-right: 0; margin-left: 15px; } + + .logo svg, .logo img { margin-right: .8rem; margin-left: auto;