attempt to fix overlapping comment count

This commit is contained in:
pixeldesu 2014-12-10 21:16:18 +01:00
parent 883bedcbf1
commit 0e52a9aef8
2 changed files with 6 additions and 1 deletions

View File

@ -6,6 +6,11 @@
list-style-type: none;
}
.comments--box {
z-index: 99;
}
.comments--count {
z-index: 0;
margin-top: -2em;
}

View File

@ -9,5 +9,5 @@
= comment.content
- if user_signed_in?
.form-group.has-feedback{name: 'ab-comment-new-group', 'data-a-id' => a.id}
%input.form-control{type: :text, placeholder: 'Comment...', name: 'ab-comment-new', data: {a_id: a.id }}
%input.form-control.comments--box{type: :text, placeholder: 'Comment...', name: 'ab-comment-new', data: {a_id: a.id }}
%span.text-muted.form-control-feedback.comments--count{id: "ab-comment-charcount-#{a.id}"} 160