File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 21
21
<div
22
22
:class =" [
23
23
'tw-relative',
24
- inputValue ? 'tw-w-3.5 tw-h-3.5 tw-bg-transparent ' : 'tw-w-3 tw-h-3 tw-bg-gray-200',
24
+ inputValue ? 'tw-text-brand-550 ' : 'tw-bg-gray-200',
25
25
'tw-rounded-full',
26
- 'tw-mr-2',
26
+ 'tw-w-2.5 tw-h-2.5',
27
+ 'tw-mr-0.5',
27
28
'tw-transition-colors',
28
29
'tw-flex',
29
30
'tw-items-center',
35
36
<KvMaterialIcon
36
37
v-if =" inputValue"
37
38
:icon =" mdiCheckCircle"
38
- class =" tw-absolute tw-inset-0 tw-w-3.5 tw-h-3.5 tw-text-brand-550 "
39
+ class =" check-icon "
39
40
/>
40
41
</transition >
41
42
</div >
@@ -74,11 +75,15 @@ watch(() => props.checked, val => {
74
75
< style lang= " postcss" scoped>
75
76
76
77
.fade - enter- active, .fade - leave- active {
77
- transition : opacity 0 . 5s ;
78
+ @apply tw - transition - opacity tw - duration - 500 ;
78
79
}
79
80
80
81
.fade - enter- from, .fade - leave- to {
81
- opacity: 0 ;
82
+ @apply tw- opacity- 0 ;
83
+ }
84
+
85
+ : deep (.check - icon svg ) {
86
+ @apply tw- w- 3 tw- h- 3 ;
82
87
}
83
88
84
89
< / style>
You can’t perform that action at this time.
0 commit comments