Browse Source

Fix Button with Loading Labeled Icon bug

pull/7023/head
Anton 4 years ago
parent
commit
3c179e96b3
1 changed files with 10 additions and 6 deletions
  1. 16
      src/definitions/elements/icon.less

16
src/definitions/elements/icon.less

@ -71,15 +71,19 @@ i.icon:before {
i.icon.loading {
height: 1em;
line-height: 1;
}
i.icon.loading:before {
animation: icon-loading @loadingDuration linear infinite;
}
@keyframes icon-loading {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
from {
transform: translateY(-50%) rotate(0deg);
}
to {
transform: translateY(-50%) rotate(360deg);
}
}
/*******************************

Loading…
Cancel
Save