]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
remove default left-right print margins per upstream h5bp change 12250/head
authorChris Rebert <code@rebertia.com>
Thu, 16 Jan 2014 03:17:32 +0000 (19:17 -0800)
committerChris Rebert <code@rebertia.com>
Wed, 22 Jan 2014 00:29:49 +0000 (16:29 -0800)
Refs:
    https://github.com/h5bp/html5-boilerplate/commit/57be193031b95b003b96efe9eba7a4db7f58f4e1
    https://github.com/h5bp/html5-boilerplate/issues/1477

dist/css/bootstrap.css
less/print.less

index 4787aac6cfdf94c002d9e4b3f24c994737e76493..a86aae0d1c3c3fab7b5e4a9a24d7d6c4774435a5 100644 (file)
@@ -213,9 +213,6 @@ table {
   img {
     max-width: 100% !important;
   }
-  @page {
-    margin: 2cm .5cm;
-  }
   p,
   h2,
   h3 {
@@ -232,6 +229,10 @@ table {
   .navbar {
     display: none;
   }
+  @page {
+    margin-top: 2cm;
+    margin-bottom: 2cm;
+  }
   .table td,
   .table th {
     background-color: #fff !important;
index 07277a3ca66bab672a47c163fb532ec5e1d54053..215808853523dbc4caba3097bbbc1f6c5b4585d2 100644 (file)
     max-width: 100% !important;
   }
 
-  @page {
-    margin: 2cm .5cm;
-  }
-
   p,
   h2,
   h3 {
   .navbar {
     display: none;
   }
+  @page {
+    margin-top:    2cm;
+    margin-bottom: 2cm;
+  }
   .table {
     td,
     th {