diff options
| author | Mark Otto <[email protected]> | 2016-10-09 16:16:13 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2016-10-09 16:16:13 -0700 |
| commit | 55e130f88f8372bd70cfb60ae360376c98ff6b97 (patch) | |
| tree | e742977d7fecd0c498089f929f28578fd5069e84 /scss/_forms.scss | |
| parent | cab2d5951d311640e64990a694dc61876389b6fd (diff) | |
| download | bootstrap-55e130f88f8372bd70cfb60ae360376c98ff6b97.tar.xz bootstrap-55e130f88f8372bd70cfb60ae360376c98ff6b97.zip | |
Update static form control
- Remove margin-bottom override in favor of .mb-0 utility class
- Apply the input line-height styles to match
- Remove the min-height to match the input
Diffstat (limited to 'scss/_forms.scss')
| -rw-r--r-- | scss/_forms.scss | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scss/_forms.scss b/scss/_forms.scss index 5f5b26146..2023aa013 100644 --- a/scss/_forms.scss +++ b/scss/_forms.scss @@ -132,12 +132,10 @@ select.form-control { // horizontal form layout. .form-control-static { - min-height: $input-height; // Size it appropriately next to real form controls padding-top: $input-padding-y; padding-bottom: $input-padding-y; - // Remove default margin from `p` - margin-bottom: 0; + line-height: $input-line-height; &.form-control-sm, &.form-control-lg { |
