Previously, the spinner would not resize to match its width and height. This was due to the wrong unit being used for the background image.
Comparison
(Outlines added on these images for clarity, but not actually in the changes)
Before:
After:
Info for CSS nerds
This is a single character change to make 1rem into 1em. The difference is that rem does not scale with the element's font size compared to em. The width and height of the element are set with em, so changing this makes it scale to fit the box correctly.
Fixes #469
Previously, the spinner would not resize to match its width and height. This was due to the wrong unit being used for the background image.
Comparison
(Outlines added on these images for clarity, but not actually in the changes)
Before:
After:
Info for CSS nerds
This is a single character change to make
1rem
into1em
. The difference is thatrem
does not scale with the element's font size compared toem
. The width and height of the element are set withem
, so changing this makes it scale to fit the box correctly.