diff --git a/components/lib/progressbar/ProgressBar.css b/components/lib/progressbar/ProgressBar.css index 9718e5b207..3aac43d01b 100644 --- a/components/lib/progressbar/ProgressBar.css +++ b/components/lib/progressbar/ProgressBar.css @@ -9,6 +9,10 @@ position: absolute; display: none; border: 0 none; + display: flex; + align-items: center; + justify-content: center; + overflow: hidden; } .p-progressbar-determinate .p-progressbar-value-animate { diff --git a/components/lib/progressbar/ProgressBar.js b/components/lib/progressbar/ProgressBar.js index 489de47423..74fa30467f 100644 --- a/components/lib/progressbar/ProgressBar.js +++ b/components/lib/progressbar/ProgressBar.js @@ -22,8 +22,14 @@ export const ProgressBar = React.memo( return (