Merge branch 'ent-13066-problema-con-modal-en-resoluciones-de-pantalla-retina' into 'develop'
Ent 13066 Problema con modal en resoluciones de pantalla retina See merge request artica/pandorafms!7023
This commit is contained in:
commit
3546c39aef
|
@ -431,7 +431,7 @@ ui_include_time_picker(true);
|
|||
margin = 50;
|
||||
}
|
||||
|
||||
var browserZoomLevel = (Math.round(window.devicePixelRatio * 100)/100);
|
||||
var browserZoomLevel = window.outerWidth / window.innerWidth;
|
||||
let height = ($('#chart-modal').height() + margin) * browserZoomLevel;
|
||||
let width = 800 * browserZoomLevel;
|
||||
window.resizeTo(width, height);
|
||||
|
|
Loading…
Reference in New Issue