diff --git a/modules/monitoring/application/views/helpers/Customvar.php b/modules/monitoring/application/views/helpers/Customvar.php
index 32391b6ce..87bde6b77 100644
--- a/modules/monitoring/application/views/helpers/Customvar.php
+++ b/modules/monitoring/application/views/helpers/Customvar.php
@@ -38,7 +38,7 @@ class Zend_View_Helper_Customvar extends Zend_View_Helper_Abstract
protected function renderObject($object)
{
- if (empty($object)) {
+ if (0 === count((array) $object)) {
return '{}';
}
$out = "{
\n";
diff --git a/modules/monitoring/public/css/module.less b/modules/monitoring/public/css/module.less
index f121bb66f..549328ef8 100644
--- a/modules/monitoring/public/css/module.less
+++ b/modules/monitoring/public/css/module.less
@@ -177,11 +177,14 @@ table.avp form.object-features div.header h4 {
margin: 0;
}
-table.avp .customvar ul {
+table.avp .customvar ul,
+table.avp .customvar ul li {
list-style-type: none;
margin: 0;
+ margin-top: -0.5em;
+ margin-bottom: -0.5em;
padding: 0;
- padding-left: 1.5em;
+ padding-left: 0.5em;
}
div.selection-info {