Skip to content

Commit

Permalink
Fixes #11659, #12698, and #12349: Always apply position and z-index f…
Browse files Browse the repository at this point in the history
…orm controls in input groups for proper borders
  • Loading branch information
mdo committed Feb 11, 2014
1 parent 24bf439 commit eb20d6f
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 5 deletions.
2 changes: 2 additions & 0 deletions dist/css/bootstrap.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/bootstrap.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/bootstrap.min.css

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion docs/assets/js/customize.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/dist/css/bootstrap.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/dist/css/bootstrap.min.css

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions less/input-groups.less
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
}

.form-control {
// Ensure that the input is always above the *appended* addon button for
// proper border colors.
position: relative;
z-index: 2;

// IE9 fubars the placeholder attribute in text inputs and the arrows on
// select elements in input groups. To fix it, we float the input. Details:
// https://github.com/twbs/bootstrap/issues/11561#issuecomment-28936855
Expand Down

0 comments on commit eb20d6f

Please sign in to comment.