0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

Actual gutter definition (#27797)

This commit is contained in:
Gijs Boddeus 2018-12-14 02:04:10 +01:00 committed by XhmikosR
parent af60644d2f
commit c618f67187
2 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@
position: relative;
display: block;
min-height: ($font-size-base * $line-height-base);
padding-left: $custom-control-gutter;
padding-left: ($custom-control-gutter + $custom-control-indicator-size);
}
.custom-control-inline {
@ -75,7 +75,7 @@
&::before {
position: absolute;
top: (($font-size-base * $line-height-base - $custom-control-indicator-size) / 2);
left: -$custom-control-gutter;
left: -($custom-control-gutter + $custom-control-indicator-size);
display: block;
width: $custom-control-indicator-size;
height: $custom-control-indicator-size;
@ -90,7 +90,7 @@
&::after {
position: absolute;
top: (($font-size-base * $line-height-base - $custom-control-indicator-size) / 2);
left: -$custom-control-gutter;
left: -($custom-control-gutter + $custom-control-indicator-size);
display: block;
width: $custom-control-indicator-size;
height: $custom-control-indicator-size;

View File

@ -515,7 +515,7 @@ $input-group-addon-border-color: $input-border-color !default;
$custom-forms-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
$custom-control-gutter: 1.5rem !default;
$custom-control-gutter: .5rem !default;
$custom-control-spacer-x: 1rem !default;
$custom-control-indicator-size: 1rem !default;