Style required question submit error

pull/1/head
David Benqué 3 years ago
parent 415ee6018b
commit 7f244d532f

@ -308,6 +308,10 @@
color: @cryptpad_color_link; color: @cryptpad_color_link;
} }
} }
.alert-danger {
font-size: 1rem;
padding: 10px;
}
} }
.cp-form-anon-answer { .cp-form-anon-answer {
text-align: center; text-align: center;

@ -2500,8 +2500,10 @@ define([
}); });
var list = h('ul', lis); var list = h('ul', lis);
var divContent = [ var divContent = [
h('span', Messages.form_requiredWarning), h('div.alert.alert-danger', [
list Messages.form_requiredWarning,
list
])
]; ];
$errors.empty().append(divContent); $errors.empty().append(divContent);
}); });

Loading…
Cancel
Save