(bug 33445) Remove default right margin on wikitables.
authorDerk-Jan Hartman <hartman@videolan.org>
Thu, 6 Sep 2012 19:37:28 +0000 (21:37 +0200)
committerDerk-Jan Hartman <hartman@videolan.org>
Thu, 6 Sep 2012 19:37:28 +0000 (21:37 +0200)
This makes sure that wikitables can be full width.

When right or left floating a table, use class="wikitable floatleft"
or class="wikitable floatright" to explicitly add a proper margin.

Change-Id: I107d8d8da0a07055c320767cadb7a691f344a394

skins/common/commonPrint.css
skins/common/shared.css

index cf602ea..48dd943 100644 (file)
@@ -319,7 +319,7 @@ td.diff-context {
  */
 table.wikitable,
 table.mw_metadata {
-       margin: 1em 1em 1em 0;
+       margin: 1em 0;
        border: 1px #aaa solid;
        background: white;
        border-collapse: collapse;
index 4cc0ad3..9cea362 100644 (file)
@@ -473,7 +473,7 @@ a.feedlink {
  * keep in sync with commonPrint.css
  */
 table.wikitable {
-       margin: 1em 1em 1em 0;
+       margin: 1em 0;
        background-color: #f9f9f9;
        border: 1px #aaa solid;
        border-collapse: collapse;