1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 09:05:47 +02:00

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
This commit is contained in:
Mark Otto
2016-10-09 16:16:13 -07:00
parent cab2d5951d
commit 55e130f88f
2 changed files with 3 additions and 5 deletions

View File

@@ -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 {