Skip to content

Commit

Permalink
chore: service base set size icon
Browse files Browse the repository at this point in the history
  • Loading branch information
hywax committed Dec 30, 2023
1 parent 44da7ba commit c3ab75b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/service/Base.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="flex-shrink-0 flex">
<a :href="link" :title="title" class="self-center w-16 h-16 overflow-hidden rounded-2xl border border-black/5">
<slot name="icon">
<img v-if="icon" :src="icon" :alt="title" class="block bg-contain">
<img v-if="icon" :src="icon" :alt="title" class="block bg-contain h-full w-full">
<div v-else class="bg-fg-dimmed h-full w-full" />
</slot>
</a>
Expand Down

0 comments on commit c3ab75b

Please sign in to comment.