mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-19 16:54:24 +01:00
Fixes #11402: Updated fix for select.form-control width in inline-forms
This commit is contained in:
parent
24eee65c25
commit
b04a1de9b0
6
dist/css/bootstrap.css
vendored
6
dist/css/bootstrap.css
vendored
@ -1871,6 +1871,9 @@ textarea.input-lg {
|
||||
.form-inline select.form-control {
|
||||
width: auto;
|
||||
}
|
||||
.form-inline > select.form-control {
|
||||
width: auto;
|
||||
}
|
||||
.form-inline .radio,
|
||||
.form-inline .checkbox {
|
||||
display: inline-block;
|
||||
@ -3786,6 +3789,9 @@ textarea.input-group-sm > .input-group-btn > .btn {
|
||||
.navbar-form select.form-control {
|
||||
width: auto;
|
||||
}
|
||||
.navbar-form > select.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,6 +311,11 @@ input[type="checkbox"],
|
||||
width: auto;
|
||||
}
|
||||
|
||||
// Override `width: 100%;` when not within a `.form-group`
|
||||
> select.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