Sarai-WMDE added a comment.
Thanks for the fix, @guergana.tzatchkova! Looks like `vertical-align: text-top;` does the trick in our default 16px font environment 👍🏻 Users who have reduced the size of their browser font below 16px will still see a slight misalignment between the button icon and its label, but I don't think this is unacceptable. Apparently, none of the possible solutions explored until now stays optimal in all cases. Luckily, bigger font sizes are not an issue. I checked our approach in our staging environment, setting different font sizes in Chrome 119, Safari 17 and Firefox 119. TASK DETAIL https://phabricator.wikimedia.org/T346797 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: guergana.tzatchkova, Sarai-WMDE Cc: ItamarWMDE, Aklapper, Sarai-WMDE, Danny_Benjafield_WMDE, Astuthiodit_1, STH, karapayneWMDE, Invadibot, maantietaja, Mattia_Capozzi_WMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Volker_E, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org