We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35a65bc commit 8a363caCopy full SHA for 8a363ca
components/progress/line.jsx
@@ -15,13 +15,13 @@ const Line = {
15
} = props;
16
const percentStyle = {
17
width: `${validProgress(percent)}%`,
18
- height: strokeWidth || (size === 'small' ? '6px' : '8px'),
+ height: `${strokeWidth || (size === 'small' ? 6 : 8)}px`,
19
background: strokeColor,
20
borderRadius: strokeLinecap === 'square' ? 0 : '100px',
21
};
22
const successPercentStyle = {
23
width: `${validProgress(successPercent)}%`,
24
25
26
27
const successSegment =
0 commit comments