From 1942f36455a892dc4eebed284dbb48fdddd01581 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Wed, 15 Jan 2014 19:17:32 -0800 Subject: [PATCH] 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 --- dist/css/bootstrap.css | 7 ++++--- less/print.less | 8 ++++---- 2 files changed, 8 insertions(+), 7 deletions(-) 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 { -- 2.47.2