From 3777ef007d7329e44a415e12858606b8728e95b5 Mon Sep 17 00:00:00 2001 From: Sean Dwyer Date: Thu, 10 Apr 2014 17:43:53 -0700 Subject: [PATCH] Fix form-control-feedback position when label has sr-only class --- less/forms.less | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/less/forms.less b/less/forms.less index 0368c0c0f7..15044cc499 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