From 7c88ea65bdac423dc88a059d7d9a4ee437d4c218 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Tue, 14 Apr 2020 14:30:02 -0700 Subject: [PATCH] Use icon--alt-text for 4chan Settings header icon instead of font-size hack. #2395 --- src/General/Header.coffee | 3 ++- src/css/style.css | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/General/Header.coffee b/src/General/Header.coffee index df8835a24c..b9f94db124 100644 --- a/src/General/Header.coffee +++ b/src/General/Header.coffee @@ -117,8 +117,9 @@ Header = cs.className = 'fourchan-x--icon icon--large' Icon.set cs, 'book', 'Catalog Settings' else - cs.title = cs.textContent = '4chan Settings' + cs.title = '4chan Settings' cs.className = 'native-settings' + $.extend cs, `<%= html('4chan Settings') %>` $.on cs, 'click', () -> $.id('settingsWindowLink').click() @addShortcut 'native', cs, 810 diff --git a/src/css/style.css b/src/css/style.css index 152721148b..58eee66be4 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -420,8 +420,6 @@ audio.controls-added { margin-left: 3px; } :root.shortcut-icons .native-settings { - font-size: 0; - color: transparent; display: inline-block; vertical-align: middle; height: 13px;