https://bugzilla.wikimedia.org/show_bug.cgi?id=70668
Bug ID: 70668
Summary: Properly align language code cells in babel box
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Babel
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Web browser: ---
Mobile Platform: ---
When the babel box features both languages that have 2-letter codes and
languages that have 3-letter codes, the width of the code cells aren't the same
and the result is quite ugly.
It should be possible (and would make more sense, IMO) for the extension to
generate a single table, with each language getting a row, rather than each
language getting its own table, as is the case currently. Then the native table
layout code from the browser would align the first column.
An easier fix would be to simply add "display: inline-block;" to the span that
surrounds the level (which was originally introduced solely to allow the level
be hidden, in response to bug 17073, and didn't get any styles by default).
This would allow the spans that don't fit inside the cell width (defined as
div.mw-babel-box table th { width: 45px; }) to wrap to the next line.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l