Merge pull request #655 from Retrospring/feature/deez-nones-2-electric-boogaloo

Remove superfluous hiding span for comment actions
This commit is contained in:
Georg Gadinger 2022-08-31 20:18:07 +02:00 committed by GitHub
commit d2ea3fc2c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 8 deletions

View File

@ -17,7 +17,6 @@
.comment__content .comment__content
= markdown comment.content = markdown comment.content
.pull-right .pull-right
%span.d-none.d-sm-inline.text-muted
%button.btn.btn-link.answerbox__action{ type: :button, name: "ab-smile-comment", data: { c_id: comment.id, action: current_user&.smiled?(comment) ? :unsmile : :smile }, disabled: !user_signed_in? } %button.btn.btn-link.answerbox__action{ type: :button, name: "ab-smile-comment", data: { c_id: comment.id, action: current_user&.smiled?(comment) ? :unsmile : :smile }, disabled: !user_signed_in? }
%i.fa.fa-fw.fa-smile-o %i.fa.fa-fw.fa-smile-o
%span{ id: "ab-comment-smile-count-#{comment.id}" }= comment.smile_count %span{ id: "ab-comment-smile-count-#{comment.id}" }= comment.smile_count