From: Chris Rebert Date: Thu, 16 Jan 2014 03:17:32 +0000 (-0800) Subject: remove default left-right print margins per upstream h5bp change X-Git-Tag: v3.1.0~27^2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1942f36455a892dc4eebed284dbb48fdddd01581;p=thirdparty%2Fbootstrap.git remove default left-right print margins per upstream h5bp change Refs: https://github.com/h5bp/html5-boilerplate/commit/57be193031b95b003b96efe9eba7a4db7f58f4e1 https://github.com/h5bp/html5-boilerplate/issues/1477 --- diff --git a/dist/css/bootstrap.css b/dist/css/bootstrap.css index 4787aac6cf..a86aae0d1c 100644 --- a/dist/css/bootstrap.css +++ b/dist/css/bootstrap.css @@ -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; diff --git a/less/print.less b/less/print.less index 07277a3ca6..2158088535 100644 --- a/less/print.less +++ b/less/print.less @@ -50,10 +50,6 @@ max-width: 100% !important; } - @page { - margin: 2cm .5cm; - } - p, h2, h3 { @@ -76,6 +72,10 @@ .navbar { display: none; } + @page { + margin-top: 2cm; + margin-bottom: 2cm; + } .table { td, th {