mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
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:
commit
b0b7321771
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user