Skip to content

Commit 6fd8363

Browse files
sookburtsookburt
andauthored
Fix gutter image missing in preview (#14136)
* fix gutter image missing issue * fix style lint error on background-color --------- Co-authored-by: sookburt <“[email protected]”>
1 parent 7e0e9e7 commit 6fd8363

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

dotcom-rendering/src/components/marketing/gutters/GutterAsk.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,7 @@ const container = css`
2424
`;
2525

2626
const imageHeader = (mainUrl: string) => css`
27-
background-color: ${palette.brand[400]};
28-
background-image: url(${mainUrl});
29-
background-repeat: no-repeat;
30-
background-position: center;
31-
background-size: cover;
27+
background: ${palette.brand[400]} no-repeat center/100% url('${mainUrl}');
3228
width: 220px;
3329
height: 132px;
3430
`;

0 commit comments

Comments
 (0)