Remove superfluous hiding span for answerbox actions

This commit is contained in:
Andreas Nedbal 2022-08-31 18:46:00 +02:00
parent b0799f07cd
commit 0380f7fcab
1 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,4 @@
%span.d-none.d-sm-inline.text-muted
%button.btn.btn-link.answerbox__action{ type: :button, name: "ab-smile", data: { a_id: a.id, action: current_user&.smiled?(a) ? :unsmile : :smile }, disabled: !user_signed_in? }
%button.btn.btn-link.answerbox__action{ type: :button, name: "ab-smile", data: { a_id: a.id, action: current_user&.smiled?(a) ? :unsmile : :smile }, disabled: !user_signed_in? }
%i.fa.fa-fw.fa-smile-o
%span{ id: "ab-smile-count-#{a.id}" }= a.smiles.count
- unless display_all