Bug 1396477 - fix the onboarding speech bubble box-shadow in RTL;r=rexboy
authorgasolin <gasolin@gmail.com>
Mon, 04 Sep 2017 12:12:53 +0800
changeset 428651 7d9dde6b07c42ec33683f48469ce223b148b8622
parent 428650 9683379b676231fe7b7b8cce364dc10754c91915
child 428652 259bfd81d8581bd0f1c599d71fa98fb2b02da5e4
push id7761
push userjlund@mozilla.com
push dateFri, 15 Sep 2017 00:19:52 +0000
treeherdermozilla-beta@c38455951db4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrexboy
bugs1396477
milestone57.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1396477 - fix the onboarding speech bubble box-shadow in RTL;r=rexboy MozReview-Commit-ID: 2aPhid6JtSw
browser/extensions/onboarding/content/onboarding.css
--- a/browser/extensions/onboarding/content/onboarding.css
+++ b/browser/extensions/onboarding/content/onboarding.css
@@ -85,16 +85,20 @@
   min-width: 100px;
   max-width: 140px;
   white-space: pre-line;
   margin-inline-start: 4px;
   margin-top: -10px;
   box-shadow: -2px 0 5px 0 rgba(74, 74, 79, 0.25);
 }
 
+#onboarding-overlay-button:dir(rtl)::after {
+  box-shadow: 2px 0 5px 0 rgba(74, 74, 79, 0.25);
+}
+
 #onboarding-overlay-dialog,
 .onboarding-hidden,
 #onboarding-tour-sync-page[data-login-state=logged-in] .show-on-logged-out,
 #onboarding-tour-sync-page[data-login-state=logged-out] .show-on-logged-in {
   display: none;
 }
 
 .onboarding-close-btn {