In Vector skin, the icons for the cog icon options are aligned:
In monobook they are on different lines:
Etonkovidova | |
Jan 2 2018, 11:51 PM |
F12669768: Screen Shot 2018-01-19 at 5.01.34 PM.png | |
Jan 20 2018, 1:02 AM |
F12214390: Screen Shot 2018-01-02 at 3.39.37 PM.png | |
Jan 2 2018, 11:51 PM |
F12214388: Screen Shot 2018-01-02 at 3.39.19 PM.png | |
Jan 2 2018, 11:51 PM |
In Vector skin, the icons for the cog icon options are aligned:
In monobook they are on different lines:
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Fix help menu icon placement for monobook | mediawiki/extensions/Echo | master | +7 -0 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Mooeypoo | T184023 [wmf.12-minor] monobook Special:Notification - drop-down options for the cog icon should be aligned with the icons | |||
Resolved | matmarex | T178437 Make icon/indicator visibility handling several widget nesting levels proof |
@Volker_E this seems to be an issue in OOUI Apex.
There's a rule for Apex:
.oo-ui-widget.oo-ui-iconElement .oo-ui-iconElement-icon, .oo-ui-widget.oo-ui-iconElement > * > .oo-ui-iconElement-icon, .oo-ui-widget.oo-ui-iconElement .oo-ui-iconElement .oo-ui-iconElement-icon, .oo-ui-widget.oo-ui-indicatorElement > .oo-ui-indicatorElement-indicator, .oo-ui-widget.oo-ui-indicatorElement > * > .oo-ui-indicatorElement-indicator, .oo-ui-widget.oo-ui-indicatorElement .oo-ui-indicatorElement .oo-ui-indicatorElement-indicator { display: block; }
Beyond the fact that it's super specific and had to be overridden with "!important", we had to make sure the icon is set to display: inline-block; for the icon to appear properly inside the button, otherwise the label was pushed down.
How is this not causing issues in other buttons with icons?
Change 404585 had a related patch set uploaded (by Mooeypoo; owner: Mooeypoo):
[mediawiki/extensions/Echo@master] Fix help menu icon placement for monobook
Change 404585 merged by jenkins-bot:
[mediawiki/extensions/Echo@master] Fix help menu icon placement for monobook