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

This commit is contained in:
Mark Otto 2013-05-14 18:59:13 -07:00
parent 1d8ff36afa
commit e23f661f3f
2 changed files with 12 additions and 1 deletions

View File

@ -1700,7 +1700,12 @@ select:focus:invalid:focus {
.form-horizontal .row-label {
padding-top: 6px;
}
@media (min-width: 768px) {
.form-horizontal .row-label {
text-align: right;
}
}
.btn {

View File

@ -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;
}
}