Skip to content

Commit

Permalink
only display max 2 sublinks on standard cards in flexible general con…
Browse files Browse the repository at this point in the history
…tainer
  • Loading branch information
abeddow91 committed Nov 19, 2024
1 parent f133727 commit e92f97f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dotcom-rendering/src/components/FlexibleGeneral.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,10 @@ export const StandardCardLayout = ({
image={showImage ? card.image : undefined}
imageLoading={imageLoading}
imagePositionOnDesktop={'left'}
supportingContent={card.supportingContent}
supportingContent={card.supportingContent?.slice(
0,
2,
)}
supportingContentAlignment="vertical"
supportingContentPosition="outer"
imageSize={'medium'}
Expand Down

0 comments on commit e92f97f

Please # to comment.