Skip to content

Commit 1a8601c

Browse files
authored
Merge pull request #7276 from nextcloud-libraries/backport/7275/stable8
[stable8] fix(NcLoadingIcon): prevent height change from rotate transformation
2 parents 15dca31 + 0cd32c1 commit 1a8601c

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)