0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Fixes #20291: Update variable usage for input group addon

Instead of the regular border-radius var, use the input ones to match sizing with their associated controls.
This commit is contained in:
Mark Otto 2016-07-27 21:12:44 -07:00
parent aad527e410
commit c52e1334a3

View File

@ -90,18 +90,18 @@
text-align: center; text-align: center;
background-color: $input-group-addon-bg; background-color: $input-group-addon-bg;
border: $input-btn-border-width solid $input-group-addon-border-color; border: $input-btn-border-width solid $input-group-addon-border-color;
@include border-radius($border-radius); @include border-radius($input-border-radius);
// Sizing // Sizing
&.form-control-sm { &.form-control-sm {
padding: $input-padding-y-sm $input-padding-x-sm; padding: $input-padding-y-sm $input-padding-x-sm;
font-size: $font-size-sm; font-size: $font-size-sm;
@include border-radius($border-radius-sm); @include border-radius($input-border-radius-sm);
} }
&.form-control-lg { &.form-control-lg {
padding: $input-padding-y-lg $input-padding-x-lg; padding: $input-padding-y-lg $input-padding-x-lg;
font-size: $font-size-lg; font-size: $font-size-lg;
@include border-radius($border-radius-lg); @include border-radius($input-border-radius-lg);
} }
// scss-lint:disable QualifyingElement // scss-lint:disable QualifyingElement