We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d9dc0d commit 8ab71cbCopy full SHA for 8ab71cb
dotcom-rendering/src/components/FootballMatchStat.tsx
@@ -1,6 +1,7 @@
1
import { css } from '@emotion/react';
2
import {
3
from,
4
+ space,
5
textSansBold14,
6
textSansBold15,
7
textSansBold20,
@@ -20,7 +21,7 @@ const containerCss = css`
20
21
left: 50%;
22
bottom: 0;
23
width: 1px;
- height: 24px;
24
+ height: ${space[6]}px;
25
background-color: ${palette('--football-match-stat-border')};
26
}
27
`;
@@ -73,7 +74,7 @@ const chartCss = css`
73
74
75
76
const barCss = css`
- height: 8px;
77
+ height: ${space[2]}px;
78
width: var(--match-stat-percentage);
79
background-color: var(--match-stat-team-colour);
80
border-radius: 8px;
0 commit comments