Skip to content

Commit

Permalink
reverted modifications from progressloadingbar
Browse files Browse the repository at this point in the history
  • Loading branch information
abhijith-trenser committed Jan 23, 2025
1 parent 6483425 commit ecb21ff
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ function ProgressLoadingBar({ progress }) {
}
function FallbackProgressLoadingBar({ progress }: ProgressLoadingBarProps): ReactElement {
return (
<div className="loading border-fwdark-borderblue border">
<div className="loading">
{progress === undefined || progress === null ? (
<div className="infinite-loading-bar bg-fwdark-malibublue !mx-[1px] !h-[4px]"></div>
<div className="infinite-loading-bar bg-primary-light"></div>
) : (
<div
className="bg-fwdark-malibublue m-[1px] rounded border border-transparent"
className="bg-primary-light"
style={{
width: `${progress}%`,
height: '4px',
height: '8px',
}}
></div>
)}
Expand Down

0 comments on commit ecb21ff

Please sign in to comment.