Show only the alt text on the thumbnail, without the icon

This commit is contained in:
Paulo Castellano 2026-07-11 13:01:02 -03:00
parent 797750a1c8
commit e61d12ea94

View file

@ -292,11 +292,10 @@ const onAltTextSave = (value: string): void => {
</span>
<span
v-if="isImage(item) && item.meta?.alt_text"
class="inline-flex max-w-full items-center gap-0.5 rounded-md bg-black/65 px-1.5 py-0.5 backdrop-blur-sm"
class="inline-block max-w-full truncate rounded-md bg-black/65 px-1.5 py-0.5 backdrop-blur-sm"
data-testid="alt-text-badge"
>
<IconAlt class="size-2.5 shrink-0" />
<span class="truncate">{{ item.meta.alt_text }}</span>
{{ item.meta.alt_text }}
</span>
</div>