From 3777ef007d7329e44a415e12858606b8728e95b5 Mon Sep 17 00:00:00 2001 From: Sean Dwyer Date: Thu, 10 Apr 2014 17:43:53 -0700 Subject: Fix form-control-feedback position when label has sr-only class --- less/forms.less | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'less/forms.less') diff --git a/less/forms.less b/less/forms.less index 0368c0c0f..15044cc49 100644 --- a/less/forms.less +++ b/less/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 -- cgit v1.2.3 From 06f6c9f00691e9d536958f775b9bc72dc2b3f5c5 Mon Sep 17 00:00:00 2001 From: Sean Dwyer Date: Fri, 11 Apr 2014 14:15:33 -0700 Subject: Fix indent --- less/forms.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'less/forms.less') diff --git a/less/forms.less b/less/forms.less index 15044cc49..335c1e0e8 100644 --- a/less/forms.less +++ b/less/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; } -- cgit v1.2.3