r112476 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112475‎ | r112476 | r112477 >
Date:10:29, 27 February 2012
Author:jdlrobson
Status:ok
Tags:
Comment:
table styling - fix for bug 34711

adjust styling for tables within tables
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
@@ -214,7 +214,7 @@
215215
216216 table {
217217 border-spacing: 0 !important;
218 - width: 100%;
 218+ max-width: 100%;
219219 border-collapse: collapse !important;
220220 border: 1px solid #cccccc;
221221 padding: 3px;
@@ -247,7 +247,6 @@
248248 }
249249
250250 table[style] {
251 - width: 100% !important;
252251 float: none !important;
253252 margin-left: 0 !important;
254253 }
@@ -291,6 +290,7 @@
292291 table td, table th {
293292 border: 1px solid #cccccc;
294293 padding: 3px;
 294+ word-break: break-word;
295295 }
296296
297297 .mwm-message.mwm-notice {
@@ -335,11 +335,13 @@
336336
337337 table table {
338338 border: 0;
 339+ margin-bottom: 0;
339340 }
340341
341342 table table td,
342343 table table th {
343344 border: 0;
 345+ padding: 0;
344346 }
345347
346348 table.toc {
Index: trunk/extensions/MobileFrontend/stylesheets/beta_common.css
@@ -215,7 +215,7 @@
216216
217217 table {
218218 border-spacing: 0 !important;
219 - width: 100%;
 219+ max-width: 100%;
220220 border-collapse: collapse !important;
221221 border: 1px solid #cccccc;
222222 padding: 3px;
@@ -248,7 +248,6 @@
249249 }
250250
251251 table[style] {
252 - width: 100% !important;
253252 float: none !important;
254253 margin-left: 0 !important;
255254 }
@@ -292,6 +291,7 @@
293292 table td, table th {
294293 border: 1px solid #cccccc;
295294 padding: 3px;
 295+ word-break: break-word;
296296 }
297297
298298 .mwm-message.mwm-notice {
@@ -336,11 +336,13 @@
337337
338338 table table {
339339 border: 0;
 340+ margin-bottom: 0;
340341 }
341342
342343 table table td,
343344 table table th {
344345 border: 0;
 346+ padding: 0;
345347 }
346348
347349 table.toc {

Status & tagging log