Merge branch 'ent-13203-graficas-services-redimensiona-a-un-tamano-diminuto' into 'develop'

Ent 13203 graficas services redimensiona a un tamano diminuto

See merge request artica/pandorafms!7229
This commit is contained in:
Matias Didier 2024-04-19 11:25:29 +00:00
commit b0b7321771
1 changed files with 4 additions and 0 deletions

View File

@ -434,6 +434,10 @@ ui_include_time_picker(true);
var browserZoomLevel = window.outerWidth / window.innerWidth;
let height = ($('#chart-modal').height() + margin) * browserZoomLevel;
let width = 800 * browserZoomLevel;
if (width === 800) {
width = 1000;
height = 550;
}
window.resizeTo(width, height);
}