Skip to content

Commit 802bd6f

Browse files
committed
Fixes bounty coderwall#324 - strengthen comment li selector specificity.
1 parent 30eb33b commit 802bd6f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/assets/stylesheets/protip.css.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ body.protip-single {
309309
.comment-list {
310310
padding-bottom: 10px;
311311

312-
> li {
312+
li.comment {
313313
//margin: 0 70px 30px 70px;
314314
margin: 5% 10%;
315315

app/views/comments/_comment.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
%li.cf{:class => top_comment?(comment, comment_counter) ? "top-comment" : "" , :id => "comment_#{comment.id}"}
1+
%li.cf.comment{:class => top_comment?(comment, comment_counter) ? "top-comment" : "" , :id => "comment_#{comment.id}"}
22
%header.cf
33
.comment-avatar
44
=image_tag(users_image_path(comment.user), :class => 'avatar')

0 commit comments

Comments
 (0)