Page MenuHomePhabricator

Route diagrams are rendered incorrectly on mobile site
Closed, ResolvedPublic

Description

On the mobile site, various route diagrams are styled incorrectly.

Compare the railway route diagram on http://en.wikipedia.org/w/index.php?title=Template:Glasgow_Central to http://en.wikipedia.org/w/index.php?title=Template:Glasgow_Central&useformat=mobile

I've investigated this and it seems that there are 3 offending css rules in common.css:

  • Currently tables get a width of 100% (needs to be auto)
  • tables also get a margin bottom of 15px (needs to be 0)
  • Table columns get 3px padding (needs to be 0)

These css rules should be removed, making sure they do not effect the rendering of other tables on the site.


Version: unspecified
Severity: normal

Details

Reference
bz34711

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 12:14 AM
bzimport set Reference to bz34711.
bzimport added a subscriber: Unknown Object (MLST).