Skip to content

Commit

Permalink
Merge pull request #154 from guardian/jsh/style-guide
Browse files Browse the repository at this point in the history
fix: Fix loading bar always appearing at max width
  • Loading branch information
jonathonherbert committed Oct 14, 2020
2 parents fc91f68 + 8dc35a4 commit c9988f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ts/components/Results.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ const Results = <TPluginState extends IPluginState<MatchType[]>>({
opacity: isLoading ? 1 : 0,
// We always display a sliver of loading bar to let
// users know that a check has started
width: `${100 - Math.min(percentRemaining, 0.99)}%`
width: `${100 - Math.min(percentRemaining, 99)}%`
}}
>
<div className="LoadingBar__animated-background"></div>
Expand Down

0 comments on commit c9988f5

Please sign in to comment.