Skip to content

Commit

Permalink
chore: fix image size
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainLanz committed Jan 28, 2024
1 parent 56cae0e commit e288ea0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resources/components/package_logo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ function iconPlaceholder({ category }: PackageInfo) {
class="h-full object-contain"
:src="`/icons/${package.icon}`"
loading="lazy"
height="48"
width="48"
/>
<div v-else class="h-full flex items-center justify-center overflow-hidden rounded-xl bg-base3">
<i class="bg-grey inline-block text-lg" :class="iconPlaceholder(package)" />
Expand Down

0 comments on commit e288ea0

Please sign in to comment.