From 9382bbd9112b48676e3c308921e0285f632f9126 Mon Sep 17 00:00:00 2001 From: hackademix Date: Fri, 20 Jul 2018 16:19:49 +0200 Subject: Replaced unicode glyphs missing on some platforms and in the Tor Browser. --- src/content/PlaceHolder.js | 2 +- src/content/content.css | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src/content') diff --git a/src/content/PlaceHolder.js b/src/content/PlaceHolder.js index ce579c2..d8c422b 100644 --- a/src/content/PlaceHolder.js +++ b/src/content/PlaceHolder.js @@ -101,7 +101,7 @@ var PlaceHolder = (() => { button.className = replacement.className; button.setAttribute("aria-label", button.title = _("Close")); button.value = "close"; - button.textContent = "🗙"; + button.textContent = "×"; let description = inner.appendChild(createHTMLElement("span")); description.textContent = `${TYPE}@${this.origin}`; diff --git a/src/content/content.css b/src/content/content.css index 015fb2d..596da6d 100644 --- a/src/content/content.css +++ b/src/content/content.css @@ -45,8 +45,9 @@ a.__NoScript_PlaceHolder__ > span { right: 0; display: block; color: #800; - font-size: 16px; + font-size: 24px; font-family: sans-serif; + font-weight: bold; padding: 0 4px; margin: 0; background: none; -- cgit v1.2.3