Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix headers

  • Loading branch information...
commit 18d0096bfe5dd015c328d1a48fce530d9dcb1f86 1 parent 7e6ed30
@releu releu authored
View
3  app/assets/stylesheets/styles.less
@@ -550,6 +550,9 @@ a.secondary {
}
.new-comment-title {
+ font-size: 16px;
+ font-weight: normal;
+ color: @text;
}
.new-comment-form {
View
11 app/views/posts/_comments.html.slim
@@ -22,7 +22,7 @@ section class="comments"
p class="comments-empty" No comments yet.
- if user_signed_in?
- h2 class="new-comment-title subtitle" New Comment
+ h2 class="new-comment-title" New Comment
div class="new-comment-author"
= link_to current_user, title: current_user.username do
= avatar_image current_user, 84
@@ -34,12 +34,3 @@ section class="comments"
= f.submit 'Preview', class: 'button'
= f.submit 'Comment', class: 'button'
div class="clear"
-/
-/
-/ - if @post.persisted_comments.any?
-/ = render :partial => 'posts/comments/comment', :collection => @post.persisted_comments
-/ - else
-/ p.no_comments No comments yet
-/ - if can? :create, :comments
-/ h2 New comment
-/ = render :partial => 'posts/comments/form', locals: { comment: @comment, action: :build }
Please sign in to comment.
Something went wrong with that request. Please try again.