Browse Source

Bug 20414.5: Fix nonrendering arrow

Arthur Edelstein 3 years ago
parent
commit
0a5af31aed

+ 1 - 1
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);

+ 2 - 5
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;