aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-05-14 18:59:13 -0700
committerMark Otto <[email protected]>2013-05-14 18:59:13 -0700
commite23f661f3fc66f83cb976f8a3b7e2c627af9162d (patch)
tree3f20c1c681a973cd56b04137d12ee785a6f01c14 /less
parent1d8ff36afa73ac086004962ec2f3d02148f8a201 (diff)
downloadbootstrap-e23f661f3fc66f83cb976f8a3b7e2c627af9162d.tar.xz
bootstrap-e23f661f3fc66f83cb976f8a3b7e2c627af9162d.zip
Fixes #7885 and #7886: only right align horizontal form labels when above 768px
Diffstat (limited to '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 173520000..dacc4bb50 100644
--- a/less/forms.less
+++ b/less/forms.less
@@ -478,6 +478,12 @@ select:focus:invalid {
}
.row-label {
padding-top: 6px;
+ }
+}
+
+// Only right aline form labels here when the columns stop stacking
+@media (min-width: 768px) {
+ .form-horizontal .row-label {
text-align: right;
}
}