Browse Source

BI-48301 & BI-48300

feature/10.0
Fay 5 years ago
parent
commit
6523685b4c
  1. 2
      src/main/resources/com/finebi/plugin/web/plugin.screen_adaptive.js
  2. 2
      src/main/resources/com/finebi/plugin/web/scripts/entry.js

2
src/main/resources/com/finebi/plugin/web/plugin.screen_adaptive.js

@ -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;

2
src/main/resources/com/finebi/plugin/web/scripts/entry.js

@ -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;

Loading…
Cancel
Save