From f1190484933d51971d5042513133ab7e0f32069c Mon Sep 17 00:00:00 2001 From: albert Date: Tue, 19 Feb 2013 21:51:13 -0500 Subject: [PATCH] increase font size for textareas --- .../stylesheets/common/simple_form.css.scss | 1 + .../comments/partials/show/_comment.html.erb | 18 +++++++++--------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/app/assets/stylesheets/common/simple_form.css.scss b/app/assets/stylesheets/common/simple_form.css.scss index cd88f9803..17cf73d9f 100644 --- a/app/assets/stylesheets/common/simple_form.css.scss +++ b/app/assets/stylesheets/common/simple_form.css.scss @@ -18,6 +18,7 @@ form.simple_form { textarea { width: 30em; + font-size: 1.2em; } label { diff --git a/app/views/comments/partials/show/_comment.html.erb b/app/views/comments/partials/show/_comment.html.erb index a55b3d62d..249a78bed 100644 --- a/app/views/comments/partials/show/_comment.html.erb +++ b/app/views/comments/partials/show/_comment.html.erb @@ -9,17 +9,17 @@
<%= format_text(comment.body) %>
- -
  • <%= link_to "Reply", new_comment_path(:post_id => comment.post_id), :class => "reply-link", "data-comment-id" => comment.id %>
  • - <% if comment.editable_by?(CurrentUser.user) %> -
  • <%= link_to "Delete", comment_path(comment.id), :confirm => "Do you really want to delete this comment?", :method => :delete, :remote => true %>
  • -
  • <%= link_to "Edit", edit_comment_path(comment.id) %>
  • - <% end %> -
  • <%= link_to "Vote up", comment_votes_path(:comment_id => comment.id, :score => "up"), :method => :post, :remote => true %>
  • -
  • <%= link_to "Vote down", comment_votes_path(:comment_id => comment.id, :score => "down"), :method => :post, :remote => true %>
  • - + <% if @comment || @comments %>
  • <%= link_to "View post", post_path(post) %>
  • + <% else %> +
  • <%= link_to "Reply", new_comment_path(:post_id => comment.post_id), :class => "reply-link", "data-comment-id" => comment.id %>
  • + <% if comment.editable_by?(CurrentUser.user) %> +
  • <%= link_to "Delete", comment_path(comment.id), :confirm => "Do you really want to delete this comment?", :method => :delete, :remote => true %>
  • +
  • <%= link_to "Edit", edit_comment_path(comment.id) %>
  • + <% end %> +
  • <%= link_to "Vote up", comment_votes_path(:comment_id => comment.id, :score => "up"), :method => :post, :remote => true %>
  • +
  • <%= link_to "Vote down", comment_votes_path(:comment_id => comment.id, :score => "down"), :method => :post, :remote => true %>
  • <% end %>