Skip to content

Commit

Permalink
Tiny gap when beta container and image is vertically positioned
Browse files Browse the repository at this point in the history
  • Loading branch information
Fweddi committed Jan 16, 2025
1 parent 6c807d6 commit 90ee12c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dotcom-rendering/src/components/Card/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,13 @@ export const Card = ({
) {
return 'large';
}
if (
isBetaContainer &&
(imagePositionOnDesktop === 'top' ||
imagePositionOnDesktop === 'bottom')
) {
return 'tiny';
}
return 'small';
};

Expand Down

0 comments on commit 90ee12c

Please sign in to comment.