davidhu2000 / react-spinners

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

Add important to width and height to prevent overwrite #513

Closed davidhu2000 closed 2 years ago

davidhu2000 commented 2 years ago

an attempt to resolve #386. thinking is the width is overwritten somehow causing the grid to not render properly

as a test, we can try to overwrite the width this way.

<GridLoader css={{ width: 300 }} />

This fix won't prevent the above from happening, but should prevent overrides from outside css.