rhysd / Shiba

Rich markdown live preview app with linter
774 stars 55 forks source link

Set width and height 100% in body and html tag #15

Closed garaemon closed 9 years ago

garaemon commented 9 years ago

In order to apply correct content size to body and html element, set width and height 100% in stylesheet. It solves empty page in printing.

Before: screenshot from 2015-09-19 02 36 22

After: screenshot from 2015-09-19 02 35 49

And printed pdf Before: screenshot from 2015-09-19 02 37 39

After: screenshot from 2015-09-19 02 37 53

reference: https://discuss.atom.io/t/webview-autosize/16915/5

rhysd commented 9 years ago

Ah, great catch!