Skip to content

Commit

Permalink
Fixed #8346 - Yes/No Component show yes/yes when swap option is on
Browse files Browse the repository at this point in the history
  • Loading branch information
tsv2013 committed Jun 3, 2024
1 parent 8ef172a commit 56581f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/defaultV2-theme/blocks/sd-boolean.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@
z-index: 2;
}

.sd-boolean--checked .sd-boolean__thumb {
.sd-boolean--checked:not(.sd-boolean--exchanged) .sd-boolean__thumb {
margin-left: 50%;
}

.sd-boolean--exchanged {
.sd-boolean__thumb {
&:not(.sd-boolean--checked) .sd-boolean__thumb {
margin-left: calc(50% + calcSize(0.5));
}

Expand Down

0 comments on commit 56581f2

Please sign in to comment.