#12999 fixed margin height

This commit is contained in:
Daniel Cebrian 2024-03-08 09:40:40 +01:00
parent 749fd9243c
commit df92200c09

View File

@ -425,7 +425,7 @@ ui_include_time_picker(true);
$("#"+active+"-content").append(data);
if (active === 'tabs-chart-module-graph' || active === 'tabs-chart-period-graph') {
var browserZoomLevel = (Math.round(window.devicePixelRatio * 100)/100);
let height = ($('#chart-modal').height() + 50) * browserZoomLevel;
let height = ($('#chart-modal').height() + 100) * browserZoomLevel;
let width = 800 * browserZoomLevel;
window.resizeTo(width, height);
}