Skip to content

Commit 32e4f6f

Browse files
authored
Merge pull request #71 from Nicolhetti/main
Same style of "blog\Header" tags for "blog\card" and "archive\card"
2 parents 83b4e1d + 64ba6f3 commit 32e4f6f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/archive/card.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ withDefaults(defineProps<Props>(), {
4949
</div>
5050
<div class="flex items-center gap-1 flex-wrap">
5151
<LogoTag />
52-
<p v-for="tag in tags" :key="tag">
52+
<p v-for="tag in tags" :key="tag" class="bg-gray-200 dark:bg-slate-900 rounded-md px-2 py-1 font-semibold">
5353
{{ tag }}
5454
</p>
5555
</div>

components/blog/card.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ withDefaults(defineProps<Props>(), {
4242
<div class="flex items-center gap-1 flex-wrap">
4343
<LogoTag />
4444
<template v-for="tag in tags" :key="tag">
45-
<span>{{ tag }}</span>
45+
<span class="bg-gray-200 dark:bg-slate-900 rounded-md px-2 py-1 font-semibold">{{ tag }}</span>
4646
</template>
4747
</div>
4848
</div>

0 commit comments

Comments
 (0)