mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-02 17:06:09 +00:00
fix(tags): at most 12 characters; "…" does not move the columns
- A new or renamed tag has at most 12 characters (computes.models.TAG_LENGTH, a validator: the column keeps 32, so names made before the limit stay usable until renamed and the migration changes no SQL); the tag box offers no longer name. - The tags "…" shows in a table's cell go below the others within the cell's width as it is, so the list's columns no longer move.
This commit is contained in:
parent
0e711ec058
commit
bc1894e4d8
12 changed files with 115 additions and 78 deletions
|
|
@ -314,6 +314,13 @@ fieldset:not(:has(input[value="set"]:checked)) > .console-new-password {
|
|||
.tag-badge {
|
||||
white-space: normal;
|
||||
}
|
||||
/* the tags "…" shows in a table's cell: below the others, within the cell's width as it is
|
||||
(no width of their own), so the table's columns do not move */
|
||||
td .tag-more {
|
||||
display: block;
|
||||
width: 0;
|
||||
min-width: 100%;
|
||||
}
|
||||
/* a VM's or host's tags: smaller than other badges, so a row with several stays narrow */
|
||||
.tag-badge {
|
||||
font-size: 0.65rem;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue