Certain links in the user menu like "Translations" and "Upload media" are inserted using the .mw-ui-icon-before class, which adds a font-size: initial to the text (as well as the icon). To circumvent this, we should add a font-size: inherit; to the menu item text, preferably in the .mixin-vector-dropdown-menu-item() mixin. This will override the text size but keep the icon size at 20px.
Current | expected |
AC
- All links in the user links menu have the same font size
- The font-size in the other dropdown menus (more menu, language variants) remains 14px.
- The above remains true for legacy Vector as well.
- Add some kind of test to avoid this regressing in future. If not possible/easy, explain why on ticket for sign off consideration.