Skip to content

Commit 8ab71cb

Browse files
committed
Use spacing from Source where possible
1 parent 3d9dc0d commit 8ab71cb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dotcom-rendering/src/components/FootballMatchStat.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { css } from '@emotion/react';
22
import {
33
from,
4+
space,
45
textSansBold14,
56
textSansBold15,
67
textSansBold20,
@@ -20,7 +21,7 @@ const containerCss = css`
2021
left: 50%;
2122
bottom: 0;
2223
width: 1px;
23-
height: 24px;
24+
height: ${space[6]}px;
2425
background-color: ${palette('--football-match-stat-border')};
2526
}
2627
`;
@@ -73,7 +74,7 @@ const chartCss = css`
7374
`;
7475

7576
const barCss = css`
76-
height: 8px;
77+
height: ${space[2]}px;
7778
width: var(--match-stat-percentage);
7879
background-color: var(--match-stat-team-colour);
7980
border-radius: 8px;

0 commit comments

Comments
 (0)