Page MenuHomePhabricator

Nested tables in Infoboxes are not centered
Closed, DeclinedPublic


At mobile resolution the nested tbody, tr and td are not display block but the nested table is resulting in a left aligned badge rather than it being centered

Screen Shot 2020-08-05 at 9.35.39 AM.png (1×1 px, 529 KB)

Developer notes

I would suggest adding the following generic rule along with the others that apply in the media query that converts table elements to display block.

table tbody, table tr, table td {
    display: block;

Event Timeline

Aklapper renamed this task from Nested tables in Infoboxes are not to Nested tables in Infoboxes are not centered.Aug 5 2020, 8:07 PM
ovasileva triaged this task as Medium priority.Aug 26 2020, 6:06 PM
ovasileva moved this task from Incoming to Triaged but Future on the Readers-Web-Backlog board.
ovasileva added a subscriber: ovasileva.

@Jdlrobson - is this a regression?

No I believe it's always been this way. There is an open question around whether this should be taken care of on wiki or by our software.

Is this issue taken, I'm new to opensource and would like to contribute in it.

Has the task been assigned to someone yet? I would like to work on it.

I would like to work on this TASK.

No need to announce anyone's plans. Anyone feel free to work on this and provide a patch in Gerrit for the mediawiki/skins/MinervaNeue repository - thanks.

I can see that this issue is only for this particular language. In English for instance, it's not the case Can anyone confirm? or was it just a "random" problem that no longer exists?

mobile-view-wikipedia-antsirabe.png (652×400 px, 148 KB)

Given, zu wiki is fixed, and we don't know of any other impacted projects. I think it's best to let communities fix this with template styles.