[tbb-commits] [torbutton/master] Bug 20414.5: Fix nonrendering arrow

gk at torproject.org gk at torproject.org
Tue Nov 15 07:39:38 UTC 2016


commit 0a5af31aed37e4fd9faec408455b2d4ae139841e
Author: Arthur Edelstein <arthuredelstein at gmail.com>
Date:   Wed Nov 23 21:05:37 2016 -0800

    Bug 20414.5: Fix nonrendering arrow
---
 src/chrome/content/aboutTor/donation_banner.js | 2 +-
 src/chrome/skin/donation_banner.css            | 7 ++-----
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/src/chrome/content/aboutTor/donation_banner.js b/src/chrome/content/aboutTor/donation_banner.js
index 0953ed2..2b59fd4 100644
--- a/src/chrome/content/aboutTor/donation_banner.js
+++ b/src/chrome/content/aboutTor/donation_banner.js
@@ -146,7 +146,7 @@ let runDonationBanner = function () {
       gStringBundle.GetStringFromName("aboutTor.donationBanner.heart");
     sel("#banner-donate-button-text span").innerHTML =
       gStringBundle.GetStringFromName("aboutTor.donationBanner.donate");
-    sel("#banner-donate-button-arrow").innerHTML = "⟶";
+    sel("#banner-donate-button-arrow").innerHTML = "»";
     sel("#banner").style.display = "flex";
     sel("#banner-spacer").style.display = "block";
     addEventListener("resize", updateTextSizes);
diff --git a/src/chrome/skin/donation_banner.css b/src/chrome/skin/donation_banner.css
index 06d6194..1d21641 100644
--- a/src/chrome/skin/donation_banner.css
+++ b/src/chrome/skin/donation_banner.css
@@ -127,11 +127,8 @@
 }
 #banner-donate-button-arrow {
     flex: 1 1 33%;
-    font-size: 14px;
-    line-height: 14px;
-}
-#banner-donate-button-arrow:-moz-dir(rtl) {
-    transform: scaleX(-1);
+    font-size: 24px;
+    line-height: 24px;
 }
 #banner-donate-button-link {
     flex: 0 0 auto;



More information about the tbb-commits mailing list