From eb20d6f13244052f7794825531c9ee7e76430559 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 11 Feb 2014 14:20:01 -0800 Subject: Fixes #11659, #12698, and #12349: Always apply position and z-index form controls in input groups for proper borders --- less/input-groups.less | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'less/input-groups.less') diff --git a/less/input-groups.less b/less/input-groups.less index b486cf4d2..a11147463 100644 --- a/less/input-groups.less +++ b/less/input-groups.less @@ -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 -- cgit v1.2.3