mirror of
https://github.com/Kozea/WeasyPrint.git
synced 2024-10-05 00:21:15 +03:00
Change the default page margin to 75px
This is within 1% of the previous 2cm, but an integer number of pixels works better for PNG output (eg. in the Browser)
This commit is contained in:
parent
34ae5ec116
commit
0b2157a861
@ -515,7 +515,7 @@ xmp { display: block; font-family: monospace; margin-bottom: 1em; margin-top: 1e
|
|||||||
|
|
||||||
@page {
|
@page {
|
||||||
/* `size: auto` (the inital) is A4 portrait */
|
/* `size: auto` (the inital) is A4 portrait */
|
||||||
margin: 2cm;
|
margin: 75px;
|
||||||
@top-left-corner { text-align: right; vertical-align: middle }
|
@top-left-corner { text-align: right; vertical-align: middle }
|
||||||
@top-left { text-align: left; vertical-align: middle }
|
@top-left { text-align: left; vertical-align: middle }
|
||||||
@top-center { text-align: center; vertical-align: middle }
|
@top-center { text-align: center; vertical-align: middle }
|
||||||
|
Loading…
Reference in New Issue
Block a user