revent comment textarea from exceeding width of container - merged with i18n
This commit is contained in:
parent
29f0b6a944
commit
255b8e40b1
|
@ -837,6 +837,11 @@ div.comment_form_container form {
|
|||
max-width: 700px;
|
||||
}
|
||||
|
||||
div.comment_form_container textarea {
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
/* trees */
|
||||
|
||||
|
|
|
@ -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'))
|
||||
%>
|
||||
|
||||
|
|
Loading…
Reference in a new issue