Skip to content

Commit 322c77c

Browse files
author
sookburt
committed
reduce top margin on headline if image exists to fix chromatic error one more time
1 parent 904de3c commit 322c77c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotcom-rendering/src/components/marketing/banners/designableBanner/components/DesignableBannerHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const getStyles = (
6464
headlineSize: 'small' | 'medium' | 'large',
6565
) => {
6666
const color = headerSettings?.textColour ?? neutral[0];
67-
const copyTopMargin = headerSettings?.headerImage ? space[2] : space[1];
67+
const copyTopMargin = headerSettings?.headerImage ? space[1] : space[1];
6868
const containerMargin = headerSettings?.headerImage ? `${space[6]}px` : '0';
6969
const mobileHeadlineSize =
7070
headlineSize === 'small'

0 commit comments

Comments
 (0)