File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
packages/@core/ui-kit/shadcn-ui/src/components/spinner Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -73,12 +73,23 @@ function onTransitionEnd() {
73
73
@transitionend =" onTransitionEnd"
74
74
>
75
75
<div
76
+ :class =" { paused: !renderSpinner }"
76
77
class =" loader before:bg-primary/50 after:bg-primary relative size-12 before:absolute before:left-0 before:top-[60px] before:h-[5px] before:w-12 before:rounded-[50%] before:content-[''] after:absolute after:left-0 after:top-0 after:h-full after:w-full after:rounded after:content-['']"
77
78
></div >
78
79
</div >
79
80
</template >
80
81
81
82
<style scoped>
83
+ .paused {
84
+ &::before {
85
+ animation-play-state: paused !important ;
86
+ }
87
+
88
+ &::after {
89
+ animation-play-state : paused !important ;
90
+ }
91
+ }
92
+
82
93
.loader {
83
94
&::before {
84
95
animation: loader-shadow-ani 0.5s linear infinite ;
You can’t perform that action at this time.
0 commit comments