mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2025-12-24 14:31:55 +01:00
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:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user