mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-03 17:36:05 +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
|
|
@ -4,5 +4,5 @@
|
|||
{% for tag in tags %}{% include 'common/tag_badge.html' %} {% endfor %}
|
||||
{% if more %}
|
||||
<button type="button" class="badge tag-badge text-bg-light border" data-show-tags title="{{ more|join:", " }}">…<span class="visually-hidden"> {% trans "more tags" %}</span></button>
|
||||
<span hidden tabindex="-1">{% for tag in more %}{% include 'common/tag_badge.html' %} {% endfor %}</span>
|
||||
<span class="tag-more" hidden tabindex="-1">{% for tag in more %}{% include 'common/tag_badge.html' %} {% endfor %}</span>
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue