Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fixed

Round percentage values in progress bar component
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const ProgressBar = ( { className, total = 100, value } ) => {
}

// The percentage should not be allowed to be more than 100
const progress = Math.min( ( value / total ) * 100, 100 );
const progress = Math.min( Math.round( ( value / total ) * 100 ), 100 );

const style = {
width: `${ progress }%`,
Expand Down