mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-29 16:34:43 +00:00
f5d76eb157
`.toggle-list-item__icon` sole purpose appears to have been to apply `vertical-align: middle`. However, this is already being fullfilled by .toggle-list-item__label. It is also causing the labels to not be vertically centered. This will also fix the ellipsis not being aligned (T287522#7264959) when the text overflows. Bug: T287522 Bug: T288306 Change-Id: I2d434d1d2b90eab16fc96fe8bb1f0738e5c6921b
16 lines
495 B
Plaintext
16 lines
495 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">
|
|
<span class="toggle-list-item__label">{{text}}</span>
|
|
</a>
|
|
</li>
|
|
{{/components}}
|