diff --git a/app/assets/stylesheets/scss/comments.scss b/app/assets/stylesheets/scss/comments.scss index 6e46a651..4bcba128 100644 --- a/app/assets/stylesheets/scss/comments.scss +++ b/app/assets/stylesheets/scss/comments.scss @@ -6,6 +6,11 @@ list-style-type: none; } +.comments--box { + z-index: 99; +} + .comments--count { + z-index: 0; margin-top: -2em; } \ No newline at end of file diff --git a/app/views/shared/_comments.html.haml b/app/views/shared/_comments.html.haml index 4fa7c27d..56c4ca15 100644 --- a/app/views/shared/_comments.html.haml +++ b/app/views/shared/_comments.html.haml @@ -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 \ No newline at end of file