From d6c24df34869c26f4120dce4d47a7e55565dbd9e Mon Sep 17 00:00:00 2001 From: Sergey Nartimov Date: Mon, 29 Oct 2012 22:32:56 +0300 Subject: [PATCH] move comment textarea style to css --- app/assets/stylesheets/errbit.css | 5 +++++ app/views/problems/show.html.haml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/errbit.css b/app/assets/stylesheets/errbit.css index ec671fb..26cca57 100644 --- a/app/assets/stylesheets/errbit.css +++ b/app/assets/stylesheets/errbit.css @@ -894,6 +894,11 @@ table.errs tr td.message .inline_comment em.commenter { color: #777; } +textarea#comment_body { + width: 420px; + height: 80px; +} + .current.asc:after { content: ' ↑'; } .current.desc:after { content: ' ↓'; } diff --git a/app/views/problems/show.html.haml b/app/views/problems/show.html.haml index fb4fbab..9f8f20a 100644 --- a/app/views/problems/show.html.haml +++ b/app/views/problems/show.html.haml @@ -43,7 +43,7 @@ - if @problem.comments_allowed? = form_for @comment, :url => app_problem_comments_path(@app, @problem) do |comment_form| %p Add a comment - = comment_form.text_area :body, :style => "width: 420px; height: 80px;" + = comment_form.text_area :body = comment_form.submit "Save Comment" %h4= @notice.try(:message) -- libgit2 0.21.2