davidhu2000 / react-spinners

A collection of loading spinner components for react
https://www.davidhu.io/react-spinners
MIT License
3k stars 260 forks source link

FadeLoader is not centered #578

Open ktsirangelos opened 4 months ago

ktsirangelos commented 4 months ago

Package Version 0.13.8

Describe the bug The loader doesn't appear centered (visually). I think that with width: 60px, it should have left: 30px, in order to appear centered. Here's the code from the devTools after the component renders: <span style="display: inherit; position: relative; font-size: 0px; top: 20px; left: 20px; width: 60px; height: 60px;">

To Reproduce Just use the component

Expected behavior I assume that since all the other loaders are centered, this should be as well

Screenshots

Screenshot 2024-02-06 at 17 29 53

Additional context