Fix spacing between icon + text in main menu

Bug: T292452
Change-Id: Idc603ccaeeb42f60899059ebb51226e8a20a969d
This commit is contained in:
Clare Ming 2021-11-01 16:33:07 -06:00
parent 53bab77280
commit b308c91b50
2 changed files with 5 additions and 1 deletions

View file

@ -2,7 +2,7 @@
{{#components}} {{#components}}
<a href="{{href}}" class="{{class}}" <a href="{{href}}" class="{{class}}"
data-mw="interface" data-event-name="{{data-event-name}}"> data-mw="interface" data-event-name="{{data-event-name}}">
{{#icon}}<span class="mw-ui-icon-{{*}} mw-ui-icon"></span>{{/icon}}&nbsp;<span>{{text}}</span> {{#icon}}<span class="mw-ui-icon-{{*}} mw-ui-icon"></span>{{/icon}}<span>{{text}}</span>
</a> </a>
{{/components}} {{/components}}
</li> </li>

View file

@ -69,6 +69,10 @@
font-size: @font-size-minerva-small; font-size: @font-size-minerva-small;
font-weight: bold; font-weight: bold;
} }
.mw-ui-icon + span {
margin-left: 8px;
}
} }
} }
} }