mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-18 05:58:25 +01:00
fixes #9392: no need for width auto on inline/navbar form controls given inline-block on parent form group
This commit is contained in:
parent
c02269a9f0
commit
eb1565681f
6
dist/css/bootstrap.css
vendored
6
dist/css/bootstrap.css
vendored
@ -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;
|
||||
|
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
@ -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).
|
||||
|
Loading…
x
Reference in New Issue
Block a user