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