From: Sean Dwyer Date: Fri, 11 Apr 2014 00:43:53 +0000 (-0700) Subject: Fix form-control-feedback position when label has sr-only class X-Git-Tag: v3.2.0~212^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3777ef007d7329e44a415e12858606b8728e95b5;p=thirdparty%2Fbootstrap.git Fix form-control-feedback position when label has sr-only class --- 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