1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 17:06:09 +00:00

feat(tags): smaller tag badges, three on the VM list

Tag badges are smaller than other badges everywhere, and the VM list
shows a VM's first three tags and "…" for the others: it names them in
its tooltip and shows them when pressed, by mouse or keyboard. A VM with
many tags no longer widens the name column and the table with it; the
tag list still filters by any of them.
This commit is contained in:
catborise 2026-11-18 23:28:12 +03:00
parent b74e798e70
commit 7810fb39fe
11 changed files with 56 additions and 8 deletions

View file

@ -308,3 +308,12 @@ fieldset:not(:has(input[value="set"]:checked)) > .console-new-password {
#tag-filter {
max-width: 15rem;
}
/* a VM's or host's tags: smaller than other badges, so a row with several stays narrow */
.tag-badge {
font-size: 0.65rem;
font-weight: 500;
}
.tag-badge svg {
width: 0.85em;
height: 0.85em;
}