We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28ff8a6 commit dbcd242Copy full SHA for dbcd242
tools/phantomjs/render.js
@@ -56,8 +56,14 @@
56
57
if (panelsRendered || totalWaitMs > timeoutMs) {
58
var bb = page.evaluate(function () {
59
- return document.getElementsByClassName("main-view")[0].getBoundingClientRect();
+ return document.getElementsByClassName("dashboard-container")[0].getBoundingClientRect();
60
});
61
+
62
+ // reset viewport to render full page
63
+ page.viewportSize = {
64
+ width: bb.width,
65
+ height: bb.height
66
+ };
67
68
page.clipRect = {
69
top: bb.top,
0 commit comments