File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 327
327
display : block ;
328
328
border-radius : $custom-toggle-border-radius ;
329
329
border : $custom-toggle-border ;
330
+ opacity : 0.99 ;
330
331
331
332
& :hover {
332
333
cursor : pointer ;
367
368
}
368
369
369
370
.custom-control-input :checked + .custom-control-indicator :after {
370
- left : calc ( 100 % - 3px ) ;
371
+ left : $custom-toggle-width - $custom-toggle-border-width - 3px ;
371
372
transform : translateX (-100% );
372
373
}
373
374
Original file line number Diff line number Diff line change @@ -505,7 +505,8 @@ $custom-file-text: (
505
505
// Custom toggle
506
506
$custom-toggle-width : 50px ;
507
507
$custom-toggle-height : 28px ;
508
- $custom-toggle-border : 1px solid $input-border-color ;
508
+ $custom-toggle-border-width : 1px ;
509
+ $custom-toggle-border : $custom-toggle-border-width solid $input-border-color ;
509
510
$custom-toggle-background-color : $white ;
510
511
$custom-toggle-border-radius : 100px ;
511
512
You can’t perform that action at this time.
0 commit comments