Skip to content

Commit

Permalink
Merge pull request #7023 from flppv/next
Browse files Browse the repository at this point in the history
[Icon] Fixed background issue when Icon is used as Labeled Icon for Button as loading one
  • Loading branch information
jlukic committed Oct 6, 2022
2 parents 0300061 + 3c179e9 commit 69d2ddb
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions src/definitions/elements/icon.less
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

/*******************************
Expand Down

0 comments on commit 69d2ddb

Please sign in to comment.