From 109b24e0ee06dd0052cd06309dfd3a8fbef9d909 Mon Sep 17 00:00:00 2001 From: jdlrobson Date: Fri, 13 Sep 2019 13:29:14 -0700 Subject: [PATCH] Adjust notification icon to be the same size as the other icons Bug: T232011 Change-Id: I0300685d38551bc9ee2c2bd32d6348f32d4df4de --- includes/skins/SkinMinerva.php | 2 +- includes/skins/minerva.mustache | 2 +- minerva.less/minerva.variables.less | 11 +++++++++++ resources/skins.minerva.base.styles/userMenu.less | 7 ------- resources/skins.minerva.loggedin.styles/styles.less | 12 ++++++------ resources/skins.minerva.scripts/NotificationBadge.js | 1 + skinStyles/mediawiki.ui.icon/mediawiki.ui.icon.less | 9 --------- tests/phpunit/skins/SkinMinervaTest.php | 3 ++- 8 files changed, 22 insertions(+), 25 deletions(-) diff --git a/includes/skins/SkinMinerva.php b/includes/skins/SkinMinerva.php index 8444fac51..c61c3507e 100644 --- a/includes/skins/SkinMinerva.php +++ b/includes/skins/SkinMinerva.php @@ -405,7 +405,7 @@ class SkinMinerva extends SkinTemplate { $tpl->set( 'userNotificationsData', [ 'notificationIconClass' => MinervaUI::iconClass( 'bellOutline-base20', - 'element', '', 'wikimedia' ), + 'element', 'mw-ui-icon-flush-right', 'wikimedia' ), 'title' => $notificationsMsg, 'url' => $url, 'notificationCountRaw' => $count, diff --git a/includes/skins/minerva.mustache b/includes/skins/minerva.mustache index dd5442cec..1e6e002f0 100644 --- a/includes/skins/minerva.mustache +++ b/includes/skins/minerva.mustache @@ -21,7 +21,7 @@