Skip to content

Commit

Permalink
(less) Fixes twbs#11659, twbs#12698, and twbs#12349: Always apply pos…
Browse files Browse the repository at this point in the history
…ition and z-index form controls in input groups for proper borders
  • Loading branch information
mdo committed Feb 11, 2014
1 parent a576052 commit 9efd350
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions 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 9efd350

Please sign in to comment.