css: Adjust host|servicegroup layout

This commit is contained in:
Johannes Meyer 2025-03-27 17:35:33 +01:00
parent dde5771b81
commit 7bb92faa56
2 changed files with 25 additions and 0 deletions

View file

@ -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;
}
}
}

View file

@ -0,0 +1,3 @@
.servicegroup {
.hostgroup;
}