diff --git a/public/css/item/hostgroup.less b/public/css/item/hostgroup.less new file mode 100644 index 00000000..7a4d6617 --- /dev/null +++ b/public/css/item/hostgroup.less @@ -0,0 +1,22 @@ +.hostgroup { + &.table-row.item-layout { + > .col:has(.object-statistics) { + align-content: center; // Actually, not sure why this works… .col is not a grid container + } + + > .main > .caption { + height: auto; + .text-ellipsis(); + .line-clamp("reset"); + } + } + + &.header-item-layout > .main { + padding-top: 0; + padding-bottom: 0; + + > header { + align-items: center; + } + } +} diff --git a/public/css/item/servicegroup.less b/public/css/item/servicegroup.less new file mode 100644 index 00000000..9c79e9a2 --- /dev/null +++ b/public/css/item/servicegroup.less @@ -0,0 +1,3 @@ +.servicegroup { + .hostgroup; +}