revent comment textarea from exceeding width of container - merged with i18n

This commit is contained in:
Carl Chenet 2017-05-16 23:32:07 +02:00
parent 29f0b6a944
commit 255b8e40b1
2 changed files with 6 additions and 1 deletions

View file

@ -837,6 +837,11 @@ div.comment_form_container form {
max-width: 700px;
}
div.comment_form_container textarea {
box-sizing: border-box;
width: 100%;
}
/* trees */

View file

@ -15,7 +15,7 @@ data-shortid="<%= comment.short_id if comment.persisted? %>">
<div style="width: 100%;">
<%= text_area_tag "comment", comment.comment, :rows => 5,
:style => "width: 100%;", :autocomplete => "off", :disabled => !@user,
:autocomplete => "off", :disabled => !@user,
:placeholder => (@user ? "" : t('.mustbelogged'))
%>