Skip to content

Commit d3536d4

Browse files
committed
style: Make sure extra properties hug the bottom of the card.
1 parent 4c07ce4 commit d3536d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/platform/assets/components/AssetCard.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
tabindex="1"
88
:class="
99
cn(
10-
'rounded-2xl overflow-hidden transition-all duration-200 bg-modal-card-background p-2 gap-2 flex flex-col',
10+
'rounded-2xl overflow-hidden transition-all duration-200 bg-modal-card-background p-2 gap-2 flex flex-col h-full',
1111
interactive &&
1212
'group appearance-none bg-transparent m-0 outline-none text-left hover:bg-secondary-background focus:bg-secondary-background border-none focus:outline-solid outline-base-foreground outline-4'
1313
)
@@ -68,7 +68,7 @@
6868
</MoreButton>
6969
</IconGroup>
7070
</div>
71-
<div :class="cn('max-h-32 flex flex-col gap-2 justify-between')">
71+
<div class="max-h-32 flex flex-col gap-2 justify-between flex-auto">
7272
<h3
7373
:id="titleId"
7474
v-tooltip.top="{ value: asset.name, showDelay: tooltipDelay }"
@@ -98,7 +98,7 @@
9898
>
9999
{{ asset.description }}
100100
</p>
101-
<div :class="cn('flex gap-4 text-xs text-muted-foreground')">
101+
<div class="flex gap-4 text-xs text-muted-foreground mt-auto">
102102
<span v-if="asset.stats.stars" class="flex items-center gap-1">
103103
<i class="icon-[lucide--star] size-3" />
104104
{{ asset.stats.stars }}

0 commit comments

Comments
 (0)