Fixed outline positioning for compact switches.

This commit is contained in:
Violet Rose 2020-09-06 18:01:51 -07:00
parent 2edccb2714
commit dd4bd7c489
2 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,9 @@
transform: translate(0, -50%)
width: 34px
&.compact
left: -3px
.switch-label
position: relative
display: inline-block

View File

@ -6,6 +6,7 @@
type="checkbox"
name="set-name"
class="switch-input"
:class="{compact}"
:checked="currentValue"
@change="$emit('change', currentValue)"
>