File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -843,8 +843,7 @@ header.vff-header svg.f-logo {
843
843
outline : none;
844
844
border : none;
845
845
position : relative;
846
- margin-right : 8px ;
847
- padding : 0 ;
846
+ padding : 0 8px 0 0 ;
848
847
}
849
848
850
849
.vff .field-iconrate ul .f-radios li .f-icon-wrap {
@@ -876,7 +875,8 @@ header.vff-header svg.f-logo {
876
875
background-color : unset;
877
876
}
878
877
879
- .vff .field-iconrate ul .f-radios li .f-hovered .f-icon-wrap svg {
878
+ .vff .field-iconrate ul .f-radios li .f-hovered .f-icon-wrap svg ,
879
+ .vff .field-iconrate ul .f-radios li : hover .f-icon-wrap svg {
880
880
fill : var (--vff-tertiary-text-color );
881
881
}
882
882
Original file line number Diff line number Diff line change 5
5
v-for =" (option, index) in question.options"
6
6
v-on:click.prevent =" toggleAnswer(option)"
7
7
v-on:mouseover =" isIconScale ? onMouseover(index) : null"
8
- v-on:mouseleave =" isIconScale ? onMouseleave : null"
8
+ v-on:mouseleave =" isIconScale ? onMouseleave() : null"
9
9
v-bind:class =" {'f-selected': option.selected, ...iconScaleClasses(index)}"
10
10
v-bind:key =" 'm' + index"
11
11
v-bind:aria-label =" getLabel(option.value)"
14
14
<div v-if =" !isIconScale" class =" f-label-wrap" >
15
15
<span v-if =" option.choiceLabel()" class =" f-label" >{{ option.choiceLabel() }}span >
16
16
div >
17
- <div class =" f-icon-wrap" >
17
+ <div v-else class =" f-icon-wrap" >
18
18
<div class =" f-icon" >
19
19
<svg xmlns =" http://www.w3.org/2000/svg" width =" 24" height =" 24" viewBox =" 0 0 24 24" >
20
20
<path d =" M12 .587l3.668 7.568 8.332 1.151-6.064 5.828 1.48 8.279-7.416-3.967-7.417 3.967 1.481-8.279-6.064-5.828 8.332-1.151z" stroke-width =" .5" />
181
181
182
182
if (this .isIconScale ) {
183
183
if (! this .isMobile ) {
184
- classes[' f-hovered' ] = this .hoveredIndex ? index <= this .hoveredIndex : null
184
+ classes[' f-hovered' ] = this .hoveredIndex ? index < this .hoveredIndex : null
185
185
}
186
186
187
187
classes[' f-previous' ] = this .activeIndex ? index < this .activeIndex : null
198
198
}
199
199
200
200
return false
201
- }
201
+ },
202
202
}
203
203
}
204
204
< / script>
You can’t perform that action at this time.
0 commit comments