Fixed the box for the dashboard.
This commit is contained in:
parent
93c1089cff
commit
e63886e1e7
|
@ -736,8 +736,8 @@ function visual_map_print_item($mode = "read", $layoutData,
|
||||||
switch ($type) {
|
switch ($type) {
|
||||||
case BOX_ITEM:
|
case BOX_ITEM:
|
||||||
$style = "";
|
$style = "";
|
||||||
$style .= "width: " . $width . "px; ";
|
$style .= "width: " . ($width * $proportion) . "px; ";
|
||||||
$style .= "height: " . $height . "px; ";
|
$style .= "height: " . ($height * $proportion) . "px; ";
|
||||||
$style .= "border-style: solid; ";
|
$style .= "border-style: solid; ";
|
||||||
$style .= "border-width: " . $border_width . "px; ";
|
$style .= "border-width: " . $border_width . "px; ";
|
||||||
$style .= "border-color: " . $border_color . "; ";
|
$style .= "border-color: " . $border_color . "; ";
|
||||||
|
|
Loading…
Reference in New Issue