Page MenuHomePhabricator

[Gadget authors] Vector dropdown menu HTML has changed, please review impacted gadgets
Open, Needs TriagePublic

Description

If you are noticing any issues with menus created via gadgets where the heading is a large font-size like in the example below,
then you can fix this adding the CSS class .vector-menu-dropdown-noicon to the enlarged element.

Example problem:

Screen Shot 2021-09-14 at 10.55.52 AM.png (596×1 px, 92 KB)

Example fix:
https://commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-editDropdown.js&diff=591651294&oldid=431891324

Event Timeline

If I understand correctly, this would be a suitable Tech News entry? If not, please provide an improved version.

Some gadgets and user-scripts add items to the [[m:Customization:Explaining_skins#Portlets|portlets]] (article tools) part of the skin. A recent change to the HTML may have made those links a different font-size. This can be fixed by adding the CSS class <code>.vector-menu-dropdown-noicon</code>. [https://phabricator.wikimedia.org/T291438]

EpicPupper renamed this task from [Gadget authors] Vector dropdown menu HTML has changed please review impacted gadgets to [Gadget authors] Vector dropdown menu HTML has changed, please review impacted gadgets.Wed, Sep 29, 5:01 PM