slider: reduce size by 4px

This commit is contained in:
Garrit Franke 2022-04-12 15:54:52 +02:00
parent d2877ddd3e
commit cea75c8f14
No known key found for this signature in database
GPG key ID: 65586C4DDA55EA2C

View file

@ -41,8 +41,8 @@
.switch {
position: relative;
display: inline-block;
width: 60px;
height: 34px;
width: 56px;
height: 30px;
}
.switch input {
@ -66,8 +66,8 @@
.slider:before {
position: absolute;
content: "";
height: 26px;
width: 26px;
height: 22px;
width: 22px;
left: 4px;
bottom: 4px;
background-color: white;