https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113309
Revision: 113309
Author: jdlrobson
Date: 2012-03-07 22:12:47 +0000 (Wed, 07 Mar 2012)
Log Message:
-----------
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
trunk/extensions/MobileFrontend/stylesheets/common.css
Modified: trunk/extensions/MobileFrontend/stylesheets/beta_common.css
===================================================================
--- trunk/extensions/MobileFrontend/stylesheets/beta_common.css 2012-03-07
21:51:46 UTC (rev 113308)
+++ trunk/extensions/MobileFrontend/stylesheets/beta_common.css 2012-03-07
22:12:47 UTC (rev 113309)
@@ -10,7 +10,7 @@
}
body {
- font-size: 1em;
+ font-size: 0.8em;
line-height: 1;
color: black;
background: white;
@@ -314,9 +314,12 @@
table th {
border: 1px solid #cccccc;
padding: 3px;
- word-break: break-word;
}
+table th {
+ word-break: normal;
+}
+
.mwm-message.mwm-notice {
background: #FFFFFF;
font-size: 1.1em;
Modified: trunk/extensions/MobileFrontend/stylesheets/common.css
===================================================================
--- trunk/extensions/MobileFrontend/stylesheets/common.css 2012-03-07
21:51:46 UTC (rev 113308)
+++ trunk/extensions/MobileFrontend/stylesheets/common.css 2012-03-07
22:12:47 UTC (rev 113309)
@@ -266,6 +266,7 @@
table[style] {
float: none !important;
margin-left: 0 !important;
+ width: 100% !important;
}
table.navbox td.navbox-group {
@@ -308,9 +309,12 @@
table th {
border: 1px solid #cccccc;
padding: 3px;
- word-break: break-word;
}
+table th {
+ word-break: normal;
+}
+
.mwm-message.mwm-notice {
background: #FFFFFF;
font-size: 1.1em;
@@ -427,7 +431,7 @@
}
body {
- font-size: 1em;
+ font-size: 0.8em;
margin: 0;
line-height: 1;
color: black;
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs