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