mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
#13066 fixed modal in retine screen
This commit is contained in:
parent
f915be28d9
commit
83e9332e53
@ -431,7 +431,7 @@ ui_include_time_picker(true);
|
|||||||
margin = 50;
|
margin = 50;
|
||||||
}
|
}
|
||||||
|
|
||||||
var browserZoomLevel = (Math.round(window.devicePixelRatio * 100)/100);
|
var browserZoomLevel = window.outerWidth / window.innerWidth;
|
||||||
let height = ($('#chart-modal').height() + margin) * browserZoomLevel;
|
let height = ($('#chart-modal').height() + margin) * browserZoomLevel;
|
||||||
let width = 800 * browserZoomLevel;
|
let width = 800 * browserZoomLevel;
|
||||||
window.resizeTo(width, height);
|
window.resizeTo(width, height);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user