Skip to content

Commit 1598e6f

Browse files
committed
fix PostCard full width
1 parent 38c46b9 commit 1598e6f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/PostCard.astro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,13 @@ const getTransitionNameFromElementId = setTransitionSlug({ pageSlug: slug });
5555
{
5656
!noHero && (
5757
<div class="md:basis-1/3 md:shrink-0">
58+
{/* must omit width for full width...? */}
5859
<Image
5960
{...IMAGE_SIZES.RESPONSIVE.POST_CARD}
6061
src={heroImage}
6162
alt={heroAlt}
6263
itemprop="image"
63-
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"
6465
transition:name={getTransitionNameFromElementId({
6566
elementId: TRANSITION_ELEMENT_IDS.POST_CARD.HERO_IMAGE,
6667
})}

0 commit comments

Comments
 (0)