Skip to content

Commit

Permalink
feat(flexible/general): show trail text on standard cards if the imag…
Browse files Browse the repository at this point in the history
…e has been removed (#12570)
  • Loading branch information
cemms1 authored Oct 17, 2024
1 parent 20b3a14 commit e8569d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dotcom-rendering/src/components/FlexibleGeneral.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,8 @@ export const StandardCardLayout = ({
showLivePlayable={false}
showTopBarDesktop={false}
showTopBarMobile={true}
// On standard cards, we only show the trail text if the trail image has been hidden
trailText={!card.image ? card.trailText : undefined}
/>
</LI>
);
Expand Down

0 comments on commit e8569d9

Please sign in to comment.