Skip to content

Commit

Permalink
Fix UiSwitch thumb overlapping an open modal (#514)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-hykin authored Dec 31, 2021
1 parent 6688d3f commit 603a3ca
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/UiSwitch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
@focus="onFocus"
>

<div class="ui-switch__track"></div>

<div class="ui-switch__thumb">
<div class="ui-switch__focus-ring"></div>
</div>

<div class="ui-switch__track"></div>
</div>

<div class="ui-switch__label-text" v-if="label || $slots.default">
Expand Down Expand Up @@ -213,7 +213,6 @@ $ui-switch-focus-ring-size : $ui-switch-thumb-size * 2.1 !default;
transition-property: background-color, transform;
transition-timing-function: ease;
width: $ui-switch-thumb-size;
z-index: 1;
}
.ui-switch__focus-ring {
Expand Down

0 comments on commit 603a3ca

Please sign in to comment.