Commit eb156568 authored by Mark Otto's avatar Mark Otto

fixes #9392: no need for width auto on inline/navbar form controls given...

fixes #9392: no need for width auto on inline/navbar form controls given inline-block on parent form group
parent c02269a9
...@@ -1830,9 +1830,6 @@ textarea.input-sm { ...@@ -1830,9 +1830,6 @@ textarea.input-sm {
margin-bottom: 0; margin-bottom: 0;
vertical-align: middle; vertical-align: middle;
} }
.form-inline .form-control {
width: auto;
}
.form-inline .radio, .form-inline .radio,
.form-inline .checkbox { .form-inline .checkbox {
display: inline-block; display: inline-block;
...@@ -3177,9 +3174,6 @@ button.close { ...@@ -3177,9 +3174,6 @@ button.close {
margin-bottom: 0; margin-bottom: 0;
vertical-align: middle; vertical-align: middle;
} }
.navbar-form .form-control {
width: auto;
}
.navbar-form .radio, .navbar-form .radio,
.navbar-form .checkbox { .navbar-form .checkbox {
display: inline-block; display: inline-block;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -311,11 +311,6 @@ textarea { ...@@ -311,11 +311,6 @@ textarea {
vertical-align: middle; 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 // 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 // then undo the floating of radios and checkboxes to match (which also avoids
// a bug in WebKit: https://github.com/twbs/bootstrap/issues/1969). // a bug in WebKit: https://github.com/twbs/bootstrap/issues/1969).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment