refactor(AsyncButton): replace spinner

This commit is contained in:
Lukas Jakob
2023-02-28 07:50:05 -06:00
parent b1e7a202f3
commit 7e50c72ea7
2 changed files with 8 additions and 31 deletions

View File

@ -2,7 +2,7 @@ button {
position: relative;
}
.spinner {
.spinner-wrapper {
position: absolute;
width: 100%;
height: 100%;
@ -11,17 +11,4 @@ button {
display: flex;
justify-content: center;
align-items: center;
animation-name: spin;
animation-duration: 800ms;
animation-iteration-count: infinite;
animation-timing-function: linear;
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}