Skip to content

Commit

Permalink
fix(v6): Fix multi content card layout
Browse files Browse the repository at this point in the history
  • Loading branch information
fhlavac committed Oct 9, 2024
1 parent f81d360 commit 13f1ca0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/module/src/MultiContentCard/MultiContentCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const MultiContentCard: React.FunctionComponent<MultiContentCardProps> = ({
const renderCards = (cards: (React.ReactElement | MutliContentCardProps)[], withDividers?: boolean) => (
<Flex alignSelf={{ default: 'alignSelfStretch' }} alignItems={{ default: 'alignItemsStretch' }}>
{cards.map((card, index) => (
<div key={`card-${index}`}>
<>
{index > 0 && isCardWithProps(card) && card.dividerVariant === MultiContentCardDividerVariant.left && (
<Divider
orientation={{ md: 'vertical' }}
Expand All @@ -93,7 +93,7 @@ const MultiContentCard: React.FunctionComponent<MultiContentCardProps> = ({
inset={{ default: 'inset3xl' }}
/>
)}
</div>
</>
))}
</Flex>
);
Expand Down

0 comments on commit 13f1ca0

Please sign in to comment.