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