Skip to content

Commit 382a493

Browse files
committed
style: add arrow hover effect on blog post list card
1 parent 3f600ef commit 382a493

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

app/components/BlogPostListCard.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const emit = defineEmits<{
3535
@mouseenter="index != null && emit('focus', index)"
3636
>
3737
<!-- Text Content -->
38-
<div class="flex-1 min-w-0 text-left">
38+
<div class="flex-1 min-w-0 text-left gap-2">
3939
<span class="text-xs text-fg-muted font-mono">{{ published }}</span>
4040
<h2
4141
class="font-mono text-xl font-medium text-fg group-hover:text-primary transition-colors hover:underline"
@@ -45,13 +45,13 @@ const emit = defineEmits<{
4545
<p v-if="excerpt" class="text-fg-muted leading-relaxed line-clamp-2 no-underline">
4646
{{ excerpt }}
4747
</p>
48-
<div class="flex flex-wrap items-center gap-2 text-xs text-fg-muted font-mono">
48+
<div class="flex flex-wrap items-center gap-2 text-xs text-fg-muted font-mono mt-4">
4949
<AuthorList :authors="authors" />
5050
</div>
5151
</div>
5252

5353
<span
54-
class="i-carbon:arrow-right w-4 h-4 text-fg-subtle group-hover:text-fg transition-colors shrink-0"
54+
class="i-carbon:arrow-right w-4 h-4 text-fg-subtle group-hover:text-fg relative inset-is-0 group-hover:inset-is-1 transition-all duration-200 shrink-0"
5555
aria-hidden="true"
5656
/>
5757
</NuxtLink>

0 commit comments

Comments
 (0)