Page MenuHomePhabricator

ContentTranslation: buttons are not aligned when text size is big
Open, Needs TriagePublic


Compare the following two screenshots from Uzwiki. You'll notice that in the bottom screenshot 3 buttons starting with "Suggestions" are not aligned like the rest of the UI does (for example the side boxes get pushed down the main content area).


The problem doesn't exist on Enwiki because buttons turn into nice icons.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 21 2019, 3:35 PM

The page uses a constant threshold on viewport width to determine whether to show icons or text labels. It seems that in this case the translations are long enough to cause wrapping before this threshold is reached.

I see. Perhaps adding little padding around buttons would make this pleasing to the eye. /cc @Pginer-WMF