Skip to content

Commit 89c43f6

Browse files
authoredJul 27, 2023
Checkbox style
1 parent 1978d3b commit 89c43f6

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed
 

‎input/css/input.css

+8-7
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,8 @@ option {
313313
align-items: center;
314314
}
315315
.checkbox-line label {
316-
margin-top: 10px;
316+
margin-top: 0px;
317+
margin-bottom: 0px;
317318
}
318319
.checkbox-line .checkbox {
319320
position: absolute;
@@ -361,17 +362,17 @@ option {
361362
/* Checkbox onoff */
362363

363364
.checkbox-checkmark-onoff {
364-
min-height: 45px;
365+
min-height: 40px;
365366
min-width: 80px;
366367
right: 5px;
367368
}
368369

369370
.checkmark-onoff {
370371
float: left;
371372
box-sizing: border-box;
372-
height: 42px;
373-
width: 92px;
374-
padding: 5px;
373+
height: 35px;
374+
width: 85px;
375+
padding: 4px;
375376
margin-left: 15px;
376377
background: var(--wow-input-bg);
377378
border: 1px solid var(--wow-border);
@@ -382,8 +383,8 @@ option {
382383

383384
.checkmark-onoff .dot {
384385
float: left;
385-
min-width: 30px;
386-
min-height: 30px;
386+
min-width: 26.5px;
387+
min-height: 26.5px;
387388
background: var(--wow-bg);
388389
border-radius: var(--wow-border-radius);
389390
border: 1px solid var(--wow-border);

0 commit comments

Comments
 (0)