1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-03 01:16:10 +00:00

feat(tags): the eight most used tag pills, the others behind "…"

With dozens of tags the pills took rows of the list's top (six rows for
forty tags, the table below a phone's screen). The pills are now by how many
rows have the tag, the eight most used shown and the others behind "… More
tags N", which shows them as a row's "…" does; its count follows the
search and the state, and it hides when none is left behind it. A pill
behind it chosen (remembered, or by a row's badge) shows them.
This commit is contained in:
catborise 2026-11-19 11:05:40 +03:00
parent 7018f57477
commit a5d0dbfe66
11 changed files with 97 additions and 19 deletions

View file

@ -321,6 +321,10 @@ td .tag-more {
width: 0;
min-width: 100%;
}
/* the tag pills behind "…", once shown: in the row of the others */
.tag-pills-more:not([hidden]) {
display: contents;
}
/* a VM's or host's tags: smaller than other badges, so a row with several stays narrow */
.tag-badge {
font-size: 0.65rem;