Skip to content

Commit

Permalink
Fix issue with toggle switch not turning gree when true (#4385)
Browse files Browse the repository at this point in the history
  • Loading branch information
YohannParis authored Aug 7, 2024
1 parent 0fca767 commit c5787e3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@
}
}

&.p-inputswitch-checked {
.p-inputswitch-slider {
&.p-inputswitch-checked,
& .p-inputswitch-input:checked {
.p-inputswitch-slider,
& + .p-inputswitch-slider {
background: $inputSwitchSliderOnBg;

&:before {
Expand All @@ -57,4 +59,4 @@
&.p-invalid {
@include invalid-input();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
placeholder="Click to select"
display="chip"
@update:model-value="emit('update-self', updatedConfig)"
></MultiSelect>
/>
</div>
</div>
<div class="input-row">
Expand Down

0 comments on commit c5787e3

Please sign in to comment.