mediawiki-skins-MinervaNeue/includes/Skins/ToggleList/ToggleListItem.mustache
Jon Robson 952789bc17 Switch Minerva button template to use Codex and remove mw-ui-button
- Removes 'mw-ui-icon-with-label-desktop' as that is now the default behavior for icon only buttons in Minerva
- Removes icon flushing classes, use codex mixins instead

80 Visual changes relating to minor icon/button subpixel changes in the heading, edit section links, and page actions

Bug: T319260
Change-Id: I503b643d33e43196483af4b5f9dd312237322ac8
2023-08-24 15:57:01 -05:00

17 lines
523 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}}"
{{#array-attributes}}{{key}}="{{value}}"{{/array-attributes}}>
{{#data-icon}}{{>Icon}}{{/data-icon}}
<span class="toggle-list-item__label">{{label}}</span>
</a>
</li>
{{/components}}