From ceb55c656e31b36ba5ebcca5bba9a3ff75580c61 Mon Sep 17 00:00:00 2001 From: Karina Kwiatek <kjk@kjk.dog> Date: Fri, 10 Mar 2023 21:06:11 +0100 Subject: [PATCH] Appease the dog overlords --- app/assets/stylesheets/components/_comments.scss | 2 +- app/views/answerbox/_comments.html.haml | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/components/_comments.scss b/app/assets/stylesheets/components/_comments.scss index 68564eba..9b0ff50d 100644 --- a/app/assets/stylesheets/components/_comments.scss +++ b/app/assets/stylesheets/components/_comments.scss @@ -37,7 +37,7 @@ display: flex; flex-direction: column; text-align: center; - margin-left: .5rem; + margin-left: 0.5rem; } } diff --git a/app/views/answerbox/_comments.html.haml b/app/views/answerbox/_comments.html.haml index c59070b5..70456738 100644 --- a/app/views/answerbox/_comments.html.haml +++ b/app/views/answerbox/_comments.html.haml @@ -32,6 +32,11 @@ .form-group.has-feedback.comment__input-group.input-group %textarea.form-control.comment__input{ type: :text, placeholder: t(".placeholder"), name: "ab-comment-new", data: { a_id: a.id, "character-count-target": "input" } } .comment__submit-wrapper - %button.btn.btn-primary{ type: :button, name: "ab-comment-new-submit", title: t(".action"), data: { a_id: a.id, "character-count-target": "action" } } + %button.btn.btn-primary{ + type: :button, + name: "ab-comment-new-submit", + title: t(".action"), + data: { a_id: a.id, "character-count-target": "action" } + } %i.fa.fa-paper-plane-o %span.text-muted.form-control-feedback.comment__character-count{ id: "ab-comment-charcount-#{a.id}", data: { "character-count-target": "counter" } } 512