Remove full-width class from reaction icons

This commit is contained in:
Andreas Nedbal 2024-03-02 21:29:47 +01:00 committed by Andreas Nedbal
parent 99faf075ff
commit 8b3690fcf2
2 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@
data: { controller: :reaction, action: "turbo:submit-start->reaction#disable turbo:submit-end->reaction#enable" } }, data: { controller: :reaction, action: "turbo:submit-start->reaction#disable turbo:submit-end->reaction#enable" } },
class: "btn btn-link answerbox__action smile", class: "btn btn-link answerbox__action smile",
data: { reaction_target: :button } do data: { reaction_target: :button } do
%i.fa.fa-fw.fa-smile-o %i.fa.fa-smile-o
%span= target.smile_count %span= target.smile_count
- if type == "Comment" - if type == "Comment"
@ -15,5 +15,5 @@
data: { controller: :reaction, action: "turbo:submit-start->reaction#disable turbo:submit-end->reaction#enable" } }, data: { controller: :reaction, action: "turbo:submit-start->reaction#disable turbo:submit-end->reaction#enable" } },
class: "btn btn-link answerbox__action smile", class: "btn btn-link answerbox__action smile",
data: { reaction_target: :button } do data: { reaction_target: :button } do
%i.fa.fa-fw.fa-smile-o %i.fa.fa-smile-o
%span= target.smile_count %span= target.smile_count

View File

@ -6,7 +6,7 @@
data: { controller: :reaction, action: "turbo:submit-start->reaction#disable turbo:submit-end->reaction#enable" } }, data: { controller: :reaction, action: "turbo:submit-start->reaction#disable turbo:submit-end->reaction#enable" } },
class: "btn btn-link answerbox__action unsmile", class: "btn btn-link answerbox__action unsmile",
data: { reaction_target: :button } do data: { reaction_target: :button } do
%i.fa.fa-fw.fa-smile-o %i.fa.fa-smile-o
%span= target.smile_count %span= target.smile_count
- if type == "Comment" - if type == "Comment"
@ -17,5 +17,5 @@
data: { controller: :reaction, action: "turbo:submit-start->reaction#disable turbo:submit-end->reaction#enable" } }, data: { controller: :reaction, action: "turbo:submit-start->reaction#disable turbo:submit-end->reaction#enable" } },
class: "btn btn-link answerbox__action unsmile", class: "btn btn-link answerbox__action unsmile",
data: { reaction_target: :button } do data: { reaction_target: :button } do
%i.fa.fa-fw.fa-smile-o %i.fa.fa-smile-o
%span= target.smile_count %span= target.smile_count