diff --git a/www/form/app-form.less b/www/form/app-form.less index 06d559c85..5bc46a085 100644 --- a/www/form/app-form.less +++ b/www/form/app-form.less @@ -308,6 +308,10 @@ color: @cryptpad_color_link; } } + .alert-danger { + font-size: 1rem; + padding: 10px; + } } .cp-form-anon-answer { text-align: center; diff --git a/www/form/inner.js b/www/form/inner.js index 85c3c0bfd..8bdd1296a 100644 --- a/www/form/inner.js +++ b/www/form/inner.js @@ -2500,8 +2500,10 @@ define([ }); var list = h('ul', lis); var divContent = [ - h('span', Messages.form_requiredWarning), - list + h('div.alert.alert-danger', [ + Messages.form_requiredWarning, + list + ]) ]; $errors.empty().append(divContent); });