Last modified: 2014-02-12 23:52:32 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T36711, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 34711 - Route diagrams are rendered incorrectly on mobile site
Route diagrams are rendered incorrectly on mobile site
Status: RESOLVED FIXED
Product: MobileFrontend
Classification: Unclassified
stable (Other open bugs)
unspecified
All All
: Low normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-02-25 19:27 UTC by Jon
Modified: 2014-02-12 23:52 UTC (History)
10 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Jon 2012-02-25 19:27:13 UTC
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.
Comment 1 Jon 2012-02-27 10:30:10 UTC
Fixed in r112476

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links