node-webshot icon indicating copy to clipboard operation
node-webshot copied to clipboard

No background-color if assigned to <html>

Open andypotts opened this issue 8 years ago • 0 comments

If a website has a background colour which is set on the HTML tag, when the option for defaultWhiteBackground is set to true it adds background-color: #fff; to the body tag, and therefore overwrites the default background colour of the website.

If node-webshot added the background colour to the HTML tag instead of the body tag, it would fix the issue.

Example: attelainejoki.fi

Issue is also here: https://github.com/andypotts/mockup-generator/issues/5

andypotts avatar Jan 23 '17 10:01 andypotts