Permalink
Browse files

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)
  • Loading branch information...
SimonSapin committed Jun 14, 2012
1 parent 34ae5ec commit 0b2157a861e76feea7e429e2b8dfc668882e3ef6
Showing with 1 addition and 1 deletion.
  1. +1 −1 weasyprint/css/html5_ua.css
@@ -515,7 +515,7 @@ xmp { display: block; font-family: monospace; margin-bottom: 1em; margin-top: 1e
@page {
/* `size: auto` (the inital) is A4 portrait */
- margin: 2cm;
+ margin: 75px;
@top-left-corner { text-align: right; vertical-align: middle }
@top-left { text-align: left; vertical-align: middle }
@top-center { text-align: center; vertical-align: middle }

0 comments on commit 0b2157a

Please sign in to comment.