We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38c46b9 commit 1598e6fCopy full SHA for 1598e6f
src/components/PostCard.astro
@@ -55,12 +55,13 @@ const getTransitionNameFromElementId = setTransitionSlug({ pageSlug: slug });
55
{
56
!noHero && (
57
<div class="md:basis-1/3 md:shrink-0">
58
+ {/* must omit width for full width...? */}
59
<Image
60
{...IMAGE_SIZES.RESPONSIVE.POST_CARD}
61
src={heroImage}
62
alt={heroAlt}
63
itemprop="image"
- class="w-full h-[168px] xs:h-[250px] md:h-[168px] md:max-w-[298px] object-cover rounded-box shadow shadow-base-300"
64
+ class="h-[168px] xs:h-[250px] md:h-[168px] md:max-w-[298px] object-cover rounded-box shadow shadow-base-300"
65
transition:name={getTransitionNameFromElementId({
66
elementId: TRANSITION_ELEMENT_IDS.POST_CARD.HERO_IMAGE,
67
})}
0 commit comments