File tree Expand file tree Collapse file tree 4 files changed +22
-5
lines changed Expand file tree Collapse file tree 4 files changed +22
-5
lines changed Original file line number Diff line number Diff line change @@ -43,5 +43,9 @@ const style = color
43
43
</span >
44
44
)}
45
45
</ConditionalWrapper >
46
- { label && subText && <span class = " sub-text" >{ subText } </span >}
46
+ { label && subText && (
47
+ <span class = " sub-text" >
48
+ <Fragment set :html = { subText } />
49
+ </span >
50
+ )}
47
51
</label >
Original file line number Diff line number Diff line change 42
42
{/if }
43
43
</ConditionalWrapper >
44
44
{#if label && subText }
45
- <span class ="sub-text" >{subText }</span >
45
+ <span class ="sub-text" >{@html subText }</span >
46
46
{/if }
47
47
</label >
Original file line number Diff line number Diff line change @@ -56,7 +56,10 @@ const Checkbox = ({
56
56
) }
57
57
</ ConditionalWrapper >
58
58
{ label && subText && (
59
- < span className = "sub-text" > { subText } </ span >
59
+ < span
60
+ className = "sub-text"
61
+ dangerouslySetInnerHTML = { { __html : subText } }
62
+ />
60
63
) }
61
64
</ label >
62
65
)
Original file line number Diff line number Diff line change 5
5
display : inline-flex ;
6
6
align-items : center ;
7
7
gap : 10px ;
8
+ font-size : 16px ;
8
9
9
10
& .col {
10
11
flex-direction : column ;
58
59
display : inline-block ;
59
60
width : 15px ;
60
61
height : 15px ;
61
- border : 1px solid var (--w-checkbox-color );;
62
+ border : 1px solid var (--w-checkbox-color );
62
63
border-radius : 2px ;
63
64
position : relative ;
64
65
69
70
70
71
.sub-text {
71
72
margin-left : 25px ;
72
- font-size : 16 px ;
73
+ font-size : 14 px ;
73
74
color : #BBB ;
75
+
76
+ a {
77
+ @include Transition (color );
78
+ color : #BBB ;
79
+
80
+ & :hover {
81
+ color : #FFF ;
82
+ }
83
+ }
74
84
}
75
85
}
You can’t perform that action at this time.
0 commit comments