messages: fix Send button being clipped on mobile screens

This commit is contained in:
Pierre de La Morinerie 2019-01-07 16:04:48 +01:00
parent 263c94c2b5
commit 46b4d3c46b
2 changed files with 5 additions and 1 deletions

View file

@ -24,4 +24,8 @@
&.justify-start {
justify-content: flex-start;
}
&.wrap {
flex-wrap: wrap;
}
}

View file

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