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:
Example fix:
https://commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-editDropdown.js&diff=591651294&oldid=431891324