diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 46f162b..52fef5f 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -837,6 +837,11 @@ div.comment_form_container form { max-width: 700px; } +div.comment_form_container textarea { + box-sizing: border-box; + width: 100%; +} + /* trees */ diff --git a/app/views/comments/_commentbox.html.erb b/app/views/comments/_commentbox.html.erb index 65614ab..eb57a42 100644 --- a/app/views/comments/_commentbox.html.erb +++ b/app/views/comments/_commentbox.html.erb @@ -15,7 +15,7 @@ data-shortid="<%= comment.short_id if comment.persisted? %>">
<%= text_area_tag "comment", comment.comment, :rows => 5, - :style => "width: 100%;", :autocomplete => "off", :disabled => !@user, + :autocomplete => "off", :disabled => !@user, :placeholder => (@user ? "" : t('.mustbelogged')) %>