aboutsummaryrefslogtreecommitdiff
path: root/less/forms.less
diff options
context:
space:
mode:
authorSean Dwyer <[email protected]>2014-04-10 17:43:53 -0700
committerSean Dwyer <[email protected]>2014-04-10 17:43:53 -0700
commit3777ef007d7329e44a415e12858606b8728e95b5 (patch)
tree73877d8f12bf2c43ece798e9ad4515827690a84e /less/forms.less
parentee7498a69366c516ccba01ca7c977fb83ea23a7b (diff)
downloadbootstrap-3777ef007d7329e44a415e12858606b8728e95b5.tar.xz
bootstrap-3777ef007d7329e44a415e12858606b8728e95b5.zip
Fix form-control-feedback position when label has sr-only class
Diffstat (limited to 'less/forms.less')
-rw-r--r--less/forms.less6
1 files changed, 6 insertions, 0 deletions
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