|
|
|
@ -30,7 +30,7 @@
|
|
|
|
|
document.body.style["-ms-transform"] = "scale(" + bounds.scale+ ")"; |
|
|
|
|
document.body.style["-ms-transform-origin"] = "top left"; |
|
|
|
|
html.style.overflowY = "auto"; |
|
|
|
|
html.style.backgroundColor = "#ffffff"; |
|
|
|
|
html.style.backgroundColor = document.getElementsByClassName('bi-theme-dark').length === 0 ? "#2c3d59" : "#ffffff"; |
|
|
|
|
|
|
|
|
|
if (bounds.height * bounds.scale < html.clientHeight) { |
|
|
|
|
transformY = (html.clientHeight - bounds.height * bounds.scale) / 2; |
|
|
|
|