mediawiki-skins-MinervaNeue/includes/Skins/ToggleList/ToggleListItem.mustache
BrandonXLF eae59a8c86 Fix spacing between icon + text in toggle menu and JS
This fix was already applied to the main menu in change
Idc603ccaeeb42f60899059ebb51226e8a20a969d

Bug: T301056
Change-Id: Id31fa76f40aab44672efc51fb981d481c27f1ff8
2022-02-05 20:28:59 -05:00

17 lines
566 B
Plaintext

{{!
array components
string|null components.class Optional anchor CSS class.
string|null components.href Optional URI.
string|null components.text Optional text.
string|null components.data-event-name Optional tracking code.
}}
{{#components}}
<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}}
<span class="toggle-list-item__label">{{text}}</span>
</a>
</li>
{{/components}}