From f83137cb7f22ecceeebcffde1484f96fefb3668b Mon Sep 17 00:00:00 2001 From: Tim Nguyen Date: Mon, 14 Oct 2019 22:00:38 +0100 Subject: [PATCH] (nobug) - Use CSS logical properties a bit more --- .../asrouter/templates/ReturnToAMO/_ReturnToAMO.scss | 6 +----- .../templates/SubmitFormSnippet/_SubmitFormSnippet.scss | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/content-src/asrouter/templates/ReturnToAMO/_ReturnToAMO.scss b/content-src/asrouter/templates/ReturnToAMO/_ReturnToAMO.scss index fde639d2f5..8eae6a5362 100644 --- a/content-src/asrouter/templates/ReturnToAMO/_ReturnToAMO.scss +++ b/content-src/asrouter/templates/ReturnToAMO/_ReturnToAMO.scss @@ -83,11 +83,7 @@ .ReturnToAMOGetStarted { margin-top: 40px; - float: right; - - &:dir(rtl) { - float: left; - } + float: inline-end; } .ReturnToAMOAddExtension { diff --git a/content-src/asrouter/templates/SubmitFormSnippet/_SubmitFormSnippet.scss b/content-src/asrouter/templates/SubmitFormSnippet/_SubmitFormSnippet.scss index 7376754bc0..0a386d1e35 100644 --- a/content-src/asrouter/templates/SubmitFormSnippet/_SubmitFormSnippet.scss +++ b/content-src/asrouter/templates/SubmitFormSnippet/_SubmitFormSnippet.scss @@ -90,11 +90,7 @@ margin: 0 auto; max-width: 768px; width: 100%; - text-align: right; - - [dir='rtl'] & { - text-align: left; - } + text-align: end; } }