Improve the style of the messagerie form

Reduce the space between the messages and the
new message textarea
This commit is contained in:
gregoirenovel 2017-12-15 14:42:41 +01:00
parent 58ce66f457
commit fb392d87c9
2 changed files with 5 additions and 1 deletions

View file

@ -52,4 +52,8 @@
.attachment-link {
margin-top: $default-spacer;
}
.commentaire-textarea {
margin-bottom: $default-spacer;
}
}

View file

@ -1,5 +1,5 @@
= form_for(commentaire, url: form_url, html: { class: 'form' }) do |f|
= f.text_area :body, rows: 5, placeholder: 'Répondre ici', required: true
= f.text_area :body, rows: 5, placeholder: 'Répondre ici', required: true, class: 'commentaire-textarea'
.flex.justify-between
%div
= f.file_field :file, id: :file, accept: commentaire.file.accept_extension_list