mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-17 19:21:39 +00:00
0867ff03aa
When notifications are present, the wrong icon width was used. Set the icon width and remove a useless class, main-header-button. https://codesearch.wmflabs.org/search/?q=main-header-button&i=nope&files=&repos= Change-Id: Ie274ffcc93cf576f36eb0fccee80ecd3d4ac3a21
19 lines
597 B
Plaintext
19 lines
597 B
Plaintext
{{^hasNotifications}}
|
|
<a href="{{url}}" title="{{title}}"
|
|
class="{{notificationIconClass}} user-button" id="user-notifications">
|
|
{{title}}
|
|
</a>
|
|
{{/hasNotifications}}
|
|
{{#hasNotifications}}
|
|
<a href="{{url}}" title="{{title}}"
|
|
id="user-notifications"
|
|
class="notification-count user-button {{#hasUnseenNotifications}}notification-unseen{{/hasUnseenNotifications}}
|
|
{{#isNotificationCountZero}}zero{{/isNotificationCountZero}}">
|
|
<div class="circle">
|
|
<span data-notification-count="{{notificationCountRaw}}">
|
|
{{notificationCountString}}
|
|
</span>
|
|
</div>
|
|
</a>
|
|
{{/hasNotifications}}
|