Skip to content

Commit 0cd32c1

Browse files
Antreesybackportbot[bot]
authored andcommitted
fix(NcLoadingIcon): prevent height change from rotate transformation
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
1 parent 15dca31 commit 0cd32c1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/components/NcLoadingIcon/NcLoadingIcon.vue

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,11 @@ export default {
8080
</script>
8181

8282
<style lang="scss" scoped>
83-
.loading-icon svg{
84-
animation: rotate var(--animation-duration, 0.8s) linear infinite;
83+
.loading-icon {
84+
overflow: hidden;
85+
86+
svg {
87+
animation: rotate var(--animation-duration, 0.8s) linear infinite;
88+
}
8589
}
8690
</style>

0 commit comments

Comments
 (0)