Skip to content

Commit

Permalink
[fix] Making sure animated spinner has border width CSS prop set (#2651)
Browse files Browse the repository at this point in the history
Signed-off-by: Ihor Dykhta <dikhta.igor@gmail.com>
  • Loading branch information
igorDykhta authored Sep 12, 2024
1 parent b92b970 commit edd1fd9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/src/common/loading-spinner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ const LoadingSpinner: React.FC<LoadingSpinnerProps> = ({
color={color}
style={{
width: `${size - strokeWidth * 2 - gap * 2}px`,
height: `${size - strokeWidth * 2 - gap * 2}px`
height: `${size - strokeWidth * 2 - gap * 2}px`,
borderWidth: strokeWidth
}}
/>
</LoadingWrapper>
Expand Down

0 comments on commit edd1fd9

Please sign in to comment.