diff options
| author | Chris Rebert <[email protected]> | 2014-01-15 19:17:32 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-01-21 16:29:49 -0800 |
| commit | 1942f36455a892dc4eebed284dbb48fdddd01581 (patch) | |
| tree | 6d3268d9b4000b17c6cee36b4663c082ee2a511c | |
| parent | 7938134fd1382deb7b300da1672559fe2afb3706 (diff) | |
| download | bootstrap-1942f36455a892dc4eebed284dbb48fdddd01581.tar.xz bootstrap-1942f36455a892dc4eebed284dbb48fdddd01581.zip | |
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
| -rw-r--r-- | dist/css/bootstrap.css | 7 | ||||
| -rw-r--r-- | less/print.less | 8 |
2 files changed, 8 insertions, 7 deletions
diff --git a/dist/css/bootstrap.css b/dist/css/bootstrap.css index 4787aac6c..a86aae0d1 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 07277a3ca..215808853 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 { |
