to make it more clear that this is not the details, but a UI text
placeholder.
Add a `pmx-faded` class that reduced opacity, as there where recent
discussion about adding such a utility class to widget-toolkit anyway.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
padding-bottom: 10px;
font-weight: normal;
}
+
+.pmx-faded {
+ opacity: 0.75;
+}
severity: check.severity,
};
data.noDetails = data.detail.length === 0;
+ data.detailsCls = data.detail.length === 0 ? 'pmx-faded' : '';
if (data.detail.length === 0) {
data.detail = "no additional data";
}
{
ptype: 'rowexpander',
expandOnDblClick: false,
- rowBodyTpl: '<pre class="pve-ceph-warning-detail">{detail}</pre>',
+ rowBodyTpl: '<pre class="pve-ceph-warning-detail {detailsCls}">{detail}</pre>',
},
],
},