Improve the style of the messagerie form
Reduce the space between the messages and the new message textarea
This commit is contained in:
parent
58ce66f457
commit
fb392d87c9
2 changed files with 5 additions and 1 deletions
|
@ -52,4 +52,8 @@
|
|||
.attachment-link {
|
||||
margin-top: $default-spacer;
|
||||
}
|
||||
|
||||
.commentaire-textarea {
|
||||
margin-bottom: $default-spacer;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue