aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/assets/css/bootstrap.css7
-rw-r--r--less/forms.less6
2 files changed, 12 insertions, 1 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css
index 7f1bf5cd8..4a1324b6b 100644
--- a/docs/assets/css/bootstrap.css
+++ b/docs/assets/css/bootstrap.css
@@ -1700,7 +1700,12 @@ select:focus:invalid:focus {
.form-horizontal .row-label {
padding-top: 6px;
- text-align: right;
+}
+
+@media (min-width: 768px) {
+ .form-horizontal .row-label {
+ text-align: right;
+ }
}
.btn {
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;
}
}