fixes #9392: no need for width auto on inline/navbar form controls given inline-block on parent form group

This commit is contained in:
Mark Otto 2013-08-12 14:52:49 -07:00
parent c02269a9f0
commit eb1565681f
3 changed files with 1 additions and 12 deletions

View File

@ -1830,9 +1830,6 @@ textarea.input-sm {
margin-bottom: 0;
vertical-align: middle;
}
.form-inline .form-control {
width: auto;
}
.form-inline .radio,
.form-inline .checkbox {
display: inline-block;
@ -3177,9 +3174,6 @@ button.close {
margin-bottom: 0;
vertical-align: middle;
}
.navbar-form .form-control {
width: auto;
}
.navbar-form .radio,
.navbar-form .checkbox {
display: inline-block;

File diff suppressed because one or more lines are too long

View File

@ -311,11 +311,6 @@ textarea {
vertical-align: middle;
}
// Reset form control's default 100% width
.form-control {
width: auto;
}
// Remove default margin on radios/checkboxes that were used for stacking, and
// then undo the floating of radios and checkboxes to match (which also avoids
// a bug in WebKit: https://github.com/twbs/bootstrap/issues/1969).