Fix the problem of the fixed height in the background of the location badge in the item cards (#479)

* Fix the problem of the fixed height in the background of the location badge above the photo in the item cards.

* Corrected linter complaint.

---------

Co-authored-by: Matt Kilgore <tankerkiller125@users.noreply.github.com>
Co-authored-by: Katos <7927609+katosdev@users.noreply.github.com>
This commit is contained in:
EdWorth120
2025-02-02 14:03:57 -03:00
committed by GitHub
parent d71da5f1ee
commit e9f8a235d4

View File

@@ -8,10 +8,10 @@
:src="imageUrl"
alt=""
/>
<div class="absolute bottom-1 left-1 text-wrap">
<div class="absolute inset-x-1 bottom-1 text-wrap">
<NuxtLink
v-if="item.location"
class="badge rounded-md text-sm shadow-md hover:link"
class="badge h-auto rounded-md text-sm shadow-md hover:link"
:to="`/location/${item.location.id}`"
>
{{ locationString }}