Fine-tuned visible switch offset.
This commit is contained in:
parent
cd309b1c3f
commit
2edccb2714
|
@ -6,7 +6,7 @@
|
|||
.switch-input
|
||||
appearance: none
|
||||
height: 20px
|
||||
left: -3px
|
||||
left: 13px
|
||||
position: absolute
|
||||
top: calc(50% - 3px)
|
||||
-ms-transform: translate(0, (-50%))
|
||||
|
@ -15,6 +15,7 @@
|
|||
width: 34px
|
||||
|
||||
.switch-label
|
||||
position: relative
|
||||
display: inline-block
|
||||
min-width: 112px
|
||||
cursor: pointer
|
||||
|
|
Loading…
Reference in New Issue