mirror of
https://github.com/picocss/pico
synced 2025-06-20 02:19:32 +00:00
fix: loading spinner sizing
The loading spinner was not sized to the actual element's size due to the units being used incorrectly.
This commit is contained in:
parent
f714a51d9e
commit
bef69e8c02
@ -15,7 +15,7 @@
|
|||||||
width: 1em;
|
width: 1em;
|
||||||
height: 1em;
|
height: 1em;
|
||||||
background-image: var(#{$css-var-prefix}icon-loading);
|
background-image: var(#{$css-var-prefix}icon-loading);
|
||||||
background-size: 1rem auto;
|
background-size: 1em auto;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
content: "";
|
content: "";
|
||||||
vertical-align: -0.125em; // Visual alignment
|
vertical-align: -0.125em; // Visual alignment
|
||||||
|
Loading…
Reference in New Issue
Block a user