Skip to content

Commit 4373094

Browse files
marjisoundJamieB-gu
andcommitted
add style to the content of euro 2025 atom
Co-authored-by: Jamie B <[email protected]>
1 parent 4463710 commit 4373094

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

dotcom-rendering/src/components/FootballNavAtom.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ export const FootballNavAtom = ({
1717
gridRow: 1,
1818
}}
1919
srcDoc={unifyPageContent({
20-
elementCss: navAtom.css,
20+
elementCss:
21+
navAtom.css +
22+
'body { margin: 0; } .Sports-header { margin-left: 0 !important; border: none !important; }',
2123
elementJs: navAtom.mainJS,
2224
elementHtml: navAtom.html,
2325
renderingTarget: 'Web',

dotcom-rendering/src/lib/unifyPageContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const unifyPageContent = ({
1313
renderingTarget: RenderingTarget;
1414
}): string =>
1515
renderToString(
16-
<html lang="en" style={{ overflow: 'hidden' }}>
16+
<html lang="en">
1717
<head>
1818
<meta charSet="utf-8" />
1919
<meta

0 commit comments

Comments
 (0)