Skip to content

Commit d27cd3f

Browse files
committed
Add padding for more galleries onwards content
1 parent 21ab3d9 commit d27cd3f

File tree

1 file changed

+7
-0
lines changed
  • dotcom-rendering/src/components/Card

1 file changed

+7
-0
lines changed

dotcom-rendering/src/components/Card/Card.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -667,6 +667,13 @@ export const Card = ({
667667
*/
668668
const getGapSizes = (): GapSizes => {
669669
if (isOnwardContent && !isGallerySecondaryOnward) {
670+
if (isMoreGalleriesOnwardContent) {
671+
return {
672+
row: 'small',
673+
column: 'small',
674+
};
675+
}
676+
670677
return {
671678
row: 'none',
672679
column: 'none',

0 commit comments

Comments
 (0)