@r2digisolutions/components 0.25.5 → 0.25.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -634,13 +634,15 @@
|
|
|
634
634
|
onclick={() => selectItem(item)}
|
|
635
635
|
>
|
|
636
636
|
{#if listView === 'flyer'}
|
|
637
|
-
<div
|
|
637
|
+
<div
|
|
638
|
+
class="bg-surface-overlay relative aspect-[3/1] w-full overflow-hidden"
|
|
639
|
+
>
|
|
638
640
|
{#if item.imageUrl}
|
|
639
641
|
<Image
|
|
640
642
|
src={item.imageUrl}
|
|
641
643
|
alt={item.title}
|
|
642
644
|
class="inset-0 absolute h-full w-full"
|
|
643
|
-
objectFit="
|
|
645
|
+
objectFit="contain"
|
|
644
646
|
/>
|
|
645
647
|
{:else}
|
|
646
648
|
<div
|