Skip to content

Commit

Permalink
fix(components): card height in card group
Browse files Browse the repository at this point in the history
Signed-off-by: ZTL-UwU <zhangtianli2006@163.com>
  • Loading branch information
ZTL-UwU committed Jul 5, 2024
1 parent 45dba81 commit a9e0303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/content/Card.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class="[&:not(:first-child)]:mt-5 group-has-[div]:mt-0">
<NuxtLink :to="to" :target="target">
<UiCard class="transition-all relative" :class="[to && 'hover:bg-muted']">
<UiCard class="transition-all relative h-full" :class="[to && 'hover:bg-muted']">
<UiCardHeader v-if="icon || title || $slots.title || description || $slots.description">
<Icon v-if="icon" class="mb-2" :name="icon" size="24" />
<UiCardTitle v-if="title || $slots.title">
Expand Down

0 comments on commit a9e0303

Please sign in to comment.