Fixed outline positioning for compact switches.
This commit is contained in:
parent
2edccb2714
commit
dd4bd7c489
|
@ -14,6 +14,9 @@
|
|||
transform: translate(0, -50%)
|
||||
width: 34px
|
||||
|
||||
&.compact
|
||||
left: -3px
|
||||
|
||||
.switch-label
|
||||
position: relative
|
||||
display: inline-block
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
type="checkbox"
|
||||
name="set-name"
|
||||
class="switch-input"
|
||||
:class="{compact}"
|
||||
:checked="currentValue"
|
||||
@change="$emit('change', currentValue)"
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue