Skip to content

Commit

Permalink
Merge pull request bagisto#10065 from amit-webkul/category
Browse files Browse the repository at this point in the history
Fixed category carousel image shimmer.
  • Loading branch information
devansh-webkul authored Aug 6, 2024
2 parents bc7d625 + ca9d823 commit 8d38da8
Showing 1 changed file with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,13 @@ class="grid min-w-[120px] max-w-[120px] grid-cols-1 justify-items-center gap-4 f
class="h-[110px] w-[110px] rounded-full bg-zinc-100 max-md:h-20 max-md:w-20 max-sm:h-[60px] max-sm:w-[60px]"
:aria-label="category.name"
>
<template v-if="category.logo?.large_image_url">
<x-shop::media.images.lazy
::src="category.logo.large_image_url"
width="110"
height="110"
class="rounded-full max-sm:h-[60px] max-sm:w-[60px]"
::alt="category.name"
/>
</template>
<x-shop::media.images.lazy
::src="category.logo?.large_image_url || '{{ bagisto_asset('images/small-product-placeholder.webp') }}'"
width="110"
height="110"
class="w-full rounded-full max-sm:h-[60px] max-sm:w-[60px]"
::alt="category.name"
/>
</a>
<a
Expand Down

0 comments on commit 8d38da8

Please # to comment.