Skip to content

Commit b6c4764

Browse files
authored
Merge pull request #14984 from guardian/doml/more-galleries-padding
Fix spacing in More Galleries onwards content
2 parents 34e5dda + 54c09b7 commit b6c4764

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
@@ -672,6 +672,13 @@ export const Card = ({
672672
*/
673673
const getGapSizes = (): GapSizes => {
674674
if (isOnwardContent && !isGallerySecondaryOnward) {
675+
if (isMoreGalleriesOnwardContent) {
676+
return {
677+
row: 'small',
678+
column: 'small',
679+
};
680+
}
681+
675682
return {
676683
row: 'none',
677684
column: 'none',

0 commit comments

Comments
 (0)