Fine-tuned visible switch offset.

This commit is contained in:
Violet Rose 2020-09-06 17:55:17 -07:00
parent cd309b1c3f
commit 2edccb2714
1 changed files with 2 additions and 1 deletions

View File

@ -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