thiemowmde added a comment.
As someone still watching this ticket: I honestly never understood why OOUI hard-codes <https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/src/styles/elements/ButtonElement.less$15> a `nowrap` in this situation. It's never helpful, especially not in an environment where we have to consider over 200 <https://translatewiki.net/> languages. It might make sense to combine it with `text-overflow: ellipsis` in situations where we know the end of the string is not that important, or when we know the full text can be found somewhere else. But this is not the case for a button label. When a button label is long there is a reason for that. We should never just cut off an arbitrary piece. Reducing the text to "Publish" in English unfortunately doesn't make the issue go away. Any of the over 200 localizations might still be significantly longer, as @Nikki demonstrates. I strongly suggest to embrace these "limitations", let button labels wrap and choose **meaningful** labels that make it easy to understand what a button does. TASK DETAIL https://phabricator.wikimedia.org/T165870 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: thiemowmde Cc: Lucas_Werkmeister_WMDE, karapayneWMDE, Michael, Lydia_Pintscher, Manuel, Sarai-WMDE, Nikki, Liuxinyu970226, PokestarFan, thiemowmde, Lucie, Sjoerddebruin, Aklapper, Astuthiodit_1, Prufkick, Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, lucamauri, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Puik, _jensen, rosalieper, xSavitar, Envlh, Scott_WUaS, Srdjan, MuhammadShuaib, LNDDYL, Psychoslave, Wikidata-bugs, aude, Tobias1984, Gryllida, Shizhao, Arrbee, Mbch331, Jay8g
_______________________________________________ Wikidata-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
