Commit e23f661f authored by Mark Otto's avatar Mark Otto

Fixes #7885 and #7886: only right align horizontal form labels when above 768px

parent 1d8ff36a
...@@ -1700,7 +1700,12 @@ select:focus:invalid:focus { ...@@ -1700,7 +1700,12 @@ select:focus:invalid:focus {
.form-horizontal .row-label { .form-horizontal .row-label {
padding-top: 6px; padding-top: 6px;
text-align: right; }
@media (min-width: 768px) {
.form-horizontal .row-label {
text-align: right;
}
} }
.btn { .btn {
......
...@@ -478,6 +478,12 @@ select:focus:invalid { ...@@ -478,6 +478,12 @@ select:focus:invalid {
} }
.row-label { .row-label {
padding-top: 6px; 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; text-align: right;
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment