fixed custom checkbox padding

pull/2437/head
REJack 2019-11-22 11:09:49 +01:00
parent c27e8738cc
commit d23a8d3d7f
No known key found for this signature in database
GPG Key ID: 9F3976CC630CC888
5 changed files with 10 additions and 10 deletions

View File

@ -447,7 +447,7 @@ $input-group-addon-color: $input-color !default;
$input-group-addon-bg: $gray-200 !default;
$input-group-addon-border-color: $input-border-color !default;
$custom-control-gutter: 1.5rem !default;
$custom-control-gutter: .5rem !default;
$custom-control-spacer-x: 1rem !default;
$custom-control-indicator-size: 1rem !default;

12
dist/css/adminlte.css vendored
View File

@ -3638,7 +3638,7 @@ input[type="button"].btn-block {
position: relative;
display: block;
min-height: 1.5rem;
padding-left: 2.5rem;
padding-left: 1.5rem;
}
.custom-control-inline {
@ -3692,7 +3692,7 @@ input[type="button"].btn-block {
.custom-control-label::before {
position: absolute;
top: 0.25rem;
left: -2.5rem;
left: -1.5rem;
display: block;
width: 1rem;
height: 1rem;
@ -3706,7 +3706,7 @@ input[type="button"].btn-block {
.custom-control-label::after {
position: absolute;
top: 0.25rem;
left: -2.5rem;
left: -1.5rem;
display: block;
width: 1rem;
height: 1rem;
@ -3753,11 +3753,11 @@ input[type="button"].btn-block {
}
.custom-switch {
padding-left: 3.25rem;
padding-left: 2.25rem;
}
.custom-switch .custom-control-label::before {
left: -3.25rem;
left: -2.25rem;
width: 1.75rem;
pointer-events: all;
border-radius: 0.5rem;
@ -3765,7 +3765,7 @@ input[type="button"].btn-block {
.custom-switch .custom-control-label::after {
top: calc(0.25rem + 2px);
left: calc(-3.25rem + 2px);
left: calc(-2.25rem + 2px);
width: calc(1rem - 4px);
height: calc(1rem - 4px);
background-color: #adb5bd;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long