Commit d6c24df34869c26f4120dce4d47a7e55565dbd9e

Authored by Sergey Nartimov
1 parent 1a50c2e1
Exists in master and in 1 other branch production

move comment textarea style to css

app/assets/stylesheets/errbit.css
@@ -894,6 +894,11 @@ table.errs tr td.message .inline_comment em.commenter { @@ -894,6 +894,11 @@ table.errs tr td.message .inline_comment em.commenter {
894 color: #777; 894 color: #777;
895 } 895 }
896 896
  897 +textarea#comment_body {
  898 + width: 420px;
  899 + height: 80px;
  900 +}
  901 +
897 .current.asc:after { content: ' ↑'; } 902 .current.asc:after { content: ' ↑'; }
898 .current.desc:after { content: ' ↓'; } 903 .current.desc:after { content: ' ↓'; }
899 904
app/views/problems/show.html.haml
@@ -43,7 +43,7 @@ @@ -43,7 +43,7 @@
43 - if @problem.comments_allowed? 43 - if @problem.comments_allowed?
44 = form_for @comment, :url => app_problem_comments_path(@app, @problem) do |comment_form| 44 = form_for @comment, :url => app_problem_comments_path(@app, @problem) do |comment_form|
45 %p Add a comment 45 %p Add a comment
46 - = comment_form.text_area :body, :style => "width: 420px; height: 80px;" 46 + = comment_form.text_area :body
47 = comment_form.submit "Save Comment" 47 = comment_form.submit "Save Comment"
48 48
49 %h4= @notice.try(:message) 49 %h4= @notice.try(:message)