diff options
| author | Mark Otto <[email protected]> | 2013-07-26 14:31:24 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-07-26 14:31:24 -0700 |
| commit | 444973e54d56b7d722978ea398f2910fbbfe6b69 (patch) | |
| tree | 3665926378d36f3a84148cd4ae4a080cdc6dd585 /less | |
| parent | 5dd2bff38c9ed23b94aae2b7b1228f62360cc0c7 (diff) | |
| download | bootstrap-444973e54d56b7d722978ea398f2910fbbfe6b69.tar.xz bootstrap-444973e54d56b7d722978ea398f2910fbbfe6b69.zip | |
Fixes #8605: use `.form-control` in `.input-group` instead of HTML tags
Diffstat (limited to 'less')
| -rw-r--r-- | less/forms.less | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/less/forms.less b/less/forms.less index 7040b17d6..390d5427a 100644 --- a/less/forms.less +++ b/less/forms.less @@ -306,8 +306,7 @@ select { padding-right: 0; } - input, - select { + .form-control { width: 100%; margin-bottom: 0; } @@ -317,7 +316,7 @@ select { // ------------------------- .input-group-addon, .input-group-btn, -.input-group input { +.input-group .form-control { display: table-cell; &:not(:first-child):not(:last-child) { @@ -358,7 +357,7 @@ select { } // Reset rounded corners -.input-group input:first-child, +.input-group .form-control:first-child, .input-group-addon:first-child, .input-group-btn:first-child > .btn, .input-group-btn:first-child > .dropdown-toggle, @@ -368,7 +367,7 @@ select { .input-group-addon:first-child { border-right: 0; } -.input-group input:last-child, +.input-group .form-control:last-child, .input-group-addon:last-child, .input-group-btn:last-child > .btn, .input-group-btn:last-child > .dropdown-toggle, |
