From 8b3690fcf2c23ef7730cca81d4e6eaea30113f54 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sat, 2 Mar 2024 21:29:47 +0100 Subject: [PATCH] Remove full-width class from reaction icons --- app/views/reactions/_create.html.haml | 4 ++-- app/views/reactions/_destroy.html.haml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/reactions/_create.html.haml b/app/views/reactions/_create.html.haml index d756ea89..d7c1d7ec 100644 --- a/app/views/reactions/_create.html.haml +++ b/app/views/reactions/_create.html.haml @@ -5,7 +5,7 @@ data: { controller: :reaction, action: "turbo:submit-start->reaction#disable turbo:submit-end->reaction#enable" } }, class: "btn btn-link answerbox__action smile", data: { reaction_target: :button } do - %i.fa.fa-fw.fa-smile-o + %i.fa.fa-smile-o %span= target.smile_count - if type == "Comment" @@ -15,5 +15,5 @@ data: { controller: :reaction, action: "turbo:submit-start->reaction#disable turbo:submit-end->reaction#enable" } }, class: "btn btn-link answerbox__action smile", data: { reaction_target: :button } do - %i.fa.fa-fw.fa-smile-o + %i.fa.fa-smile-o %span= target.smile_count diff --git a/app/views/reactions/_destroy.html.haml b/app/views/reactions/_destroy.html.haml index 6516f1ef..dff2520a 100644 --- a/app/views/reactions/_destroy.html.haml +++ b/app/views/reactions/_destroy.html.haml @@ -6,7 +6,7 @@ data: { controller: :reaction, action: "turbo:submit-start->reaction#disable turbo:submit-end->reaction#enable" } }, class: "btn btn-link answerbox__action unsmile", data: { reaction_target: :button } do - %i.fa.fa-fw.fa-smile-o + %i.fa.fa-smile-o %span= target.smile_count - if type == "Comment" @@ -17,5 +17,5 @@ data: { controller: :reaction, action: "turbo:submit-start->reaction#disable turbo:submit-end->reaction#enable" } }, class: "btn btn-link answerbox__action unsmile", data: { reaction_target: :button } do - %i.fa.fa-fw.fa-smile-o + %i.fa.fa-smile-o %span= target.smile_count