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

Merge pull request #20387 from twbs/v4-input-group-vars

Update variable usage for input group addon
This commit is contained in:
Mark Otto 2016-07-27 21:27:15 -07:00 committed by GitHub
commit c1b985a261

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