Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fudge vh css units #76

Open
graingert opened this issue Jan 28, 2017 · 1 comment
Open

fudge vh css units #76

graingert opened this issue Jan 28, 2017 · 1 comment

Comments

@graingert
Copy link
Contributor

graingert commented Jan 28, 2017

For sites that use vh units in css: https://manet.herokuapp.com/?url=https%3A%2F%2Fhungryhouse.co.uk%2F&selectorCrop=false they take up the whole view of the page.

fudge it to be about 1/3rd of the total height, or allow.

Messing with viewport and cliprect doesn't work, because phantom only renders in the viewport:

https://manet.herokuapp.com/?url=hungryhouse.com&width=1920&height=500&clipRect=0%2C0%2C1920%2C4000&selectorCrop=false

@vbauer
Copy link
Owner

vbauer commented Feb 12, 2017

@graingert Could you try to render using slimerjs engine? It looks like a problem with PhantomJs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants