Skip to content

Commit a4e8f9b

Browse files
committed
Add divider between match stats and key events
1 parent e16a002 commit a4e8f9b

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

dotcom-rendering/src/layouts/LiveLayout.tsx

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,19 @@ const bodyWrapper = css`
234234
}
235235
`;
236236

237+
const footballRedesignBodyWrapper = css`
238+
padding-top: 0;
239+
margin-top: 10px;
240+
border-top: 1px solid ${themePalette('--article-border')};
241+
${from.mobileLandscape} {
242+
padding-top: 0;
243+
margin-top: 0;
244+
}
245+
${from.desktop} {
246+
border-top: none;
247+
}
248+
`;
249+
237250
interface BaseProps {
238251
article: ArticleDeprecated;
239252
format: ArticleFormat;
@@ -783,7 +796,14 @@ export const LiveLayout = (props: WebProps | AppsProps) => {
783796
)}
784797
</GridItem>
785798
<GridItem area="body">
786-
<div id="maincontent" css={bodyWrapper}>
799+
<div
800+
id="maincontent"
801+
css={[
802+
bodyWrapper,
803+
isInFootballRedesignTest &&
804+
footballRedesignBodyWrapper,
805+
]}
806+
>
787807
{hasKeyEvents ? (
788808
<Hide below="desktop">
789809
<Island

0 commit comments

Comments
 (0)