refactor(AsyncButton): replace spinner
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user