0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +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;
background-color: $input-group-addon-bg;
border: $input-btn-border-width solid $input-group-addon-border-color;
@include border-radius($border-radius);
@include border-radius($input-border-radius);
// Sizing
&.form-control-sm {
padding: $input-padding-y-sm $input-padding-x-sm;
font-size: $font-size-sm;
@include border-radius($border-radius-sm);
@include border-radius($input-border-radius-sm);
}
&.form-control-lg {
padding: $input-padding-y-lg $input-padding-x-lg;
font-size: $font-size-lg;
@include border-radius($border-radius-lg);
@include border-radius($input-border-radius-lg);
}
// scss-lint:disable QualifyingElement