cognitom / paper-css

Paper CSS for happy printing
https://www.npmjs.com/package/paper-css
MIT License
2.51k stars 342 forks source link

Add legal size from @SienaSantos fork #19

Closed brodycj closed 7 years ago

brodycj commented 7 years ago

I discovered https://github.com/SienaSantos/paper-css fork which adds legal size in https://github.com/SienaSantos/paper-css/commit/780e7030763afa7fc092ab5ecd9bb51cf66bd35f.

cognitom commented 7 years ago

@brodybits it makes sense. We could add these lines, I think.

body.letter       .sheet { width: 216mm; height: 279mm }
body.legal        .sheet { width: 216mm; height: 356mm }

@media print {
  body.letter, body.legal    { width: 216mm }
}
cognitom commented 7 years ago

Landed on #21

brodycj commented 7 years ago

On Nov 21, 2017 6:05 AM, "Tsutomu Kawamura" notifications@github.com wrote:

Landed on #21 https://github.com/cognitom/paper-css/pull/21

Thanks!