Fix setting form-check class

pull/5742/merge
Aleksander Machniak 7 years ago
parent afa9f64d4b
commit 4d63cb41cc

@ -326,7 +326,9 @@ html.layout-phone {
td.editfield { width: 99%; /* TODO */ }
.form-group { margin-bottom: .5rem; /* overwrites Bootstrap style */ }
.form-group {
margin-bottom: .5rem; /* overwrites Bootstrap style */
}
ul.proplist {

@ -485,7 +485,7 @@ function rcube_elastic_ui()
first.addClass('col-sm-4');
last.addClass('col-sm-8');
if (last.find('[type=checkbox]').length) {
if (last.find('[type=checkbox]').length == 1) {
row_classes.push('form-check');
}
else if (!last.find('input,textarea,radio,select').length) {

Loading…
Cancel
Save