From e63886e1e72ecf5e930ea57f8c2e3b64b47c4eb9 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Fri, 21 Nov 2014 13:41:20 +0100 Subject: [PATCH] Fixed the box for the dashboard. --- pandora_console/include/functions_visual_map.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/functions_visual_map.php b/pandora_console/include/functions_visual_map.php index ff680b952e..a245d6d826 100755 --- a/pandora_console/include/functions_visual_map.php +++ b/pandora_console/include/functions_visual_map.php @@ -736,8 +736,8 @@ function visual_map_print_item($mode = "read", $layoutData, switch ($type) { case BOX_ITEM: $style = ""; - $style .= "width: " . $width . "px; "; - $style .= "height: " . $height . "px; "; + $style .= "width: " . ($width * $proportion) . "px; "; + $style .= "height: " . ($height * $proportion) . "px; "; $style .= "border-style: solid; "; $style .= "border-width: " . $border_width . "px; "; $style .= "border-color: " . $border_color . "; ";