Skip to content

Commit 80b5b54

Browse files
committed
remove padSides on section for header, preferring to do so within the header component itself
1 parent 7d1dffb commit 80b5b54

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

dotcom-rendering/src/components/HostedContentHeader.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ const headerWrapperStyles = css`
3131
height: 48px;
3232
color: ${sourcePalette.neutral[100]};
3333
34+
${from.mobileLandscape} {
35+
padding: 0 20px;
36+
}
37+
3438
${from.tablet} {
3539
height: 58px;
3640
}

dotcom-rendering/src/layouts/HostedArticleLayout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export const HostedArticleLayout = (props: WebProps | AppProps) => {
8282
showTopBorder={false}
8383
shouldCenter={false}
8484
backgroundColour={sourcePalette.neutral[7]}
85-
padSides={true}
85+
padSides={false}
8686
element="header"
8787
>
8888
<HostedContentHeader branding={branding} />

0 commit comments

Comments
 (0)