Skip to content

Commit 128d6b3

Browse files
committed
v4.5.7
1 parent 4f65c17 commit 128d6b3

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@netdata/netdata-ui",
3-
"version": "4.5.6",
3+
"version": "4.5.7",
44
"description": "netdata UI kit",
55
"main": "dist/index.js",
66
"module": "dist/es6/index.js",

src/components/progressBar/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const ProgressBar = forwardRef(
3030
width={containerWidth}
3131
{...rest}
3232
>
33-
{value.map(({ color, width }, index) =>
33+
{value.map(({ color, width }, index, arr) =>
3434
width === "0%" ? null : (
3535
<Box
3636
background={color}
@@ -39,8 +39,9 @@ const ProgressBar = forwardRef(
3939
height="100%"
4040
key={`${width}-${index}`}
4141
position="relative"
42-
round="2px"
42+
round={!index ? "2px 0 0 2px" : arr.length - 1 === index ? "0 2px 2px 0" : "0"}
4343
width={width}
44+
zIndex={index}
4445
/>
4546
)
4647
)}

0 commit comments

Comments
 (0)