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