From 1c5691dd1b13c286b94d4eae11802f3b083b8b6f Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 19 Jun 2024 09:10:04 +0200 Subject: [PATCH] Consolidate css --- scripts/todays_detections.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/scripts/todays_detections.php b/scripts/todays_detections.php index 5a1f088..0b24264 100644 --- a/scripts/todays_detections.php +++ b/scripts/todays_detections.php @@ -575,17 +575,6 @@ function generateMiniGraph(elem, comname) { } var chartWindow = document.createElement('div'); chartWindow.className = "chartdiv" - chartWindow.style.position = 'fixed'; - chartWindow.style.top = '0%'; - chartWindow.style.left = '50%'; - chartWindow.style.width = window.innerWidth < 700 ? '40%' : '20%'; - chartWindow.style.height = window.innerWidth < 700 ? '25%' : '16%'; - chartWindow.style.backgroundColor = '#fff'; - chartWindow.style.zIndex = '9999'; - chartWindow.style.overflow = 'auto'; - chartWindow.style.borderRadius = '5px'; - chartWindow.style.boxShadow = '0 4px 8px rgba(0, 0, 0, 0.2)'; - document.body.appendChild(chartWindow);