From 204ec47601ab058489288b49e09755020c76cf8e Mon Sep 17 00:00:00 2001 From: Sean Dwyer Date: Thu, 10 Apr 2014 17:43:53 -0700 Subject: [PATCH 1/2] (less) Fix form-control-feedback position when label has sr-only class --- forms.less | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/forms.less b/forms.less index 0368c0c0f756..15044cc499fa 100644 --- a/forms.less +++ b/forms.less @@ -322,6 +322,12 @@ input[type="checkbox"], } +// Reposition feedback icon if label is hidden with "screenreader only" state +.has-feedback label.sr-only ~ .form-control-feedback { + top: 0; +} + + // Static form control text // // Apply class to a `p` element to make any string of text align with labels in From e2a6ec385eaa320140ee3f7fd9abfadb7a414a98 Mon Sep 17 00:00:00 2001 From: Sean Dwyer Date: Fri, 11 Apr 2014 14:15:33 -0700 Subject: [PATCH 2/2] (less) Fix indent --- forms.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forms.less b/forms.less index 15044cc499fa..335c1e0e81e1 100644 --- a/forms.less +++ b/forms.less @@ -324,7 +324,7 @@ input[type="checkbox"], // Reposition feedback icon if label is hidden with "screenreader only" state .has-feedback label.sr-only ~ .form-control-feedback { - top: 0; + top: 0; }