Browse Source

Merge pull request #7023 from flppv/next

[Icon] Fixed background issue when Icon is used as Labeled Icon for Button as loading one
next
Jack Lukic 2 years ago
committed by GitHub
parent
commit
69d2ddbafa
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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 { i.icon.loading {
height: 1em; height: 1em;
line-height: 1; line-height: 1;
}
i.icon.loading:before {
animation: icon-loading @loadingDuration linear infinite; animation: icon-loading @loadingDuration linear infinite;
} }
@keyframes icon-loading { @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