fix(dashboard): prevent y-overlapping of tags by adding a gap #5773 (#5774)

Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
Jonathan Starck 2025-04-19 01:34:16 +02:00 committed by GitHub
parent ceb9c7e742
commit 8d8e3e5a8e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View File

@ -22,7 +22,7 @@
</span>
{{ monitor.name }}
</div>
<div v-if="monitor.tags.length > 0" class="tags">
<div v-if="monitor.tags.length > 0" class="tags gap-1">
<Tag v-for="tag in monitor.tags" :key="tag" :item="tag" :size="'sm'" />
</div>
</div>

View File

@ -6,7 +6,6 @@
'm-2': size == 'normal',
'px-2': size == 'sm',
'py-0': size == 'sm',
'mx-1': size == 'sm',
}"
:style="{ backgroundColor: item.color, fontSize: size == 'sm' ? '0.7em' : '1em' }"
>