Skip to content

Commit 9d85006

Browse files
committed
(less) Merge pull request twbs#12250 from twbs/rm-print-margins
remove default left-right print margins per upstream h5bp change
2 parents bccc605 + 0277c89 commit 9d85006

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

print.less

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@
5050
max-width: 100% !important;
5151
}
5252

53-
@page {
54-
margin: 2cm .5cm;
55-
}
56-
5753
p,
5854
h2,
5955
h3 {
@@ -76,6 +72,10 @@
7672
.navbar {
7773
display: none;
7874
}
75+
@page {
76+
margin-top: 2cm;
77+
margin-bottom: 2cm;
78+
}
7979
.table {
8080
td,
8181
th {

0 commit comments

Comments
 (0)