r113309 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113308‎ | r113309 | r113310 >
Date:22:12, 7 March 2012
Author:jdlrobson
Status:ok
Tags:
Comment:
fix large broken info boxes and tables

large tables due to word-break applied to body
tag get broken
thanks yuivpanda for pointing this out
Modified paths:
  • /trunk/extensions/MobileFrontend/stylesheets/beta_common.css (modified) (history)
  • /trunk/extensions/MobileFrontend/stylesheets/common.css (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/stylesheets/common.css
@@ -266,6 +266,7 @@
267267 table[style] {
268268 float: none !important;
269269 margin-left: 0 !important;
 270+ width: 100% !important;
270271 }
271272
272273 table.navbox td.navbox-group {
@@ -308,9 +309,12 @@
309310 table th {
310311 border: 1px solid #cccccc;
311312 padding: 3px;
312 - word-break: break-word;
313313 }
314314
 315+table th {
 316+ word-break: normal;
 317+}
 318+
315319 .mwm-message.mwm-notice {
316320 background: #FFFFFF;
317321 font-size: 1.1em;
@@ -427,7 +431,7 @@
428432 }
429433
430434 body {
431 - font-size: 1em;
 435+ font-size: 0.8em;
432436 margin: 0;
433437 line-height: 1;
434438 color: black;
Index: trunk/extensions/MobileFrontend/stylesheets/beta_common.css
@@ -10,7 +10,7 @@
1111 }
1212
1313 body {
14 - font-size: 1em;
 14+ font-size: 0.8em;
1515 line-height: 1;
1616 color: black;
1717 background: white;
@@ -314,9 +314,12 @@
315315 table th {
316316 border: 1px solid #cccccc;
317317 padding: 3px;
318 - word-break: break-word;
319318 }
320319
 320+table th {
 321+ word-break: normal;
 322+}
 323+
321324 .mwm-message.mwm-notice {
322325 background: #FFFFFF;
323326 font-size: 1.1em;

Follow-up revisions

RevisionCommit summaryAuthorDate
r113310also set width of tables in beta_common.css...jdlrobson22:14, 7 March 2012

Status & tagging log