mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 06:13:54 +00:00
Merge "Fix spacing between icon + text in toggle menu and JS"
This commit is contained in:
commit
46303db1cd
|
@ -9,7 +9,7 @@
|
|||
<li class="toggle-list-item">
|
||||
<a class="toggle-list-item__anchor {{class}}" href="{{href}}"
|
||||
data-event-name="{{data-event-name}}" data-mw="interface">
|
||||
{{#icon}}<span class="mw-ui-icon mw-ui-icon-{{.}}"></span> {{/icon}}
|
||||
{{#icon}}<span class="mw-ui-icon mw-ui-icon-{{.}}"></span>{{/icon}}
|
||||
<span class="toggle-list-item__label">{{text}}</span>
|
||||
</a>
|
||||
</li>
|
||||
|
|
|
@ -46,7 +46,6 @@ function insertIcon( $link, id ) {
|
|||
classes += ' mw-ui-icon-portletlink-' + id;
|
||||
}
|
||||
icon.setAttribute( 'class', classes );
|
||||
$link.prepend( ' ' );
|
||||
$link.prepend( icon );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue