Restores language button icon font size
The font size of icons should never be changed. Since it's also a span Bug: T296212 Change-Id: I8bf4e9a7d43a9e5206d3ff6d89e2c3f74fa0d25a
This commit is contained in:
parent
0b232afc06
commit
f0ed70d709
|
@ -13,7 +13,7 @@
|
|||
class="{{#checkbox-class}}{{.}} {{/checkbox-class}}vector-menu-checkbox" aria-labelledby="{{id}}-label" />
|
||||
{{/is-dropdown}}
|
||||
<h3 id="{{id}}-label" aria-label="{{aria-label}}"{{#heading-class}} class="{{.}}"{{/heading-class}}{{^is-legacy}} aria-hidden="true"{{/is-legacy}}>
|
||||
{{{html-vector-heading-icon}}}<span>{{label}}</span>
|
||||
{{{html-vector-heading-icon}}}<span class="vector-menu-heading-label">{{label}}</span>
|
||||
{{#is-dropdown}}
|
||||
<span class="vector-menu-checkbox-expanded">{{msg-vector-menu-checkbox-expanded}}</span>
|
||||
<span class="vector-menu-checkbox-collapsed">{{msg-vector-menu-checkbox-collapsed}}</span>
|
||||
|
|
|
@ -24,7 +24,9 @@
|
|||
// Remove opacity on language button (it applies to more menu because of label color).
|
||||
opacity: 1;
|
||||
|
||||
span {
|
||||
// FIXME: `span:not` rule can be removed when cache has cleared.
|
||||
span:not( .mw-ui-icon ),
|
||||
.vector-menu-heading-label {
|
||||
// Special treatment for language button, based on Vector font-size
|
||||
font-size: @font-size-base;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue