From 474c8c56ce84dd6458c7b1d7e25601a88410792a Mon Sep 17 00:00:00 2001 From: Matthew Landauer Date: Wed, 28 Feb 2024 01:43:45 +0000 Subject: [PATCH] Fixup comment bubble on narrow screens --- app/views/_tailwind/applications/show.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/_tailwind/applications/show.html.erb b/app/views/_tailwind/applications/show.html.erb index 1004d2977..3c61e2da9 100644 --- a/app/views/_tailwind/applications/show.html.erb +++ b/app/views/_tailwind/applications/show.html.erb @@ -110,11 +110,11 @@ <%= render "create_alert_form_bigger", alert: @alert %>
- <%= render Tailwind::Heading.new(tag: :h2, extra_classes: "inline-block mb-6") do %> + <%= render Tailwind::Heading.new(tag: :h2, extra_classes: "inline-block mb-6 mr-4") do %> Public comments on this application <% end %> <% if @comments.count > 0 %> -
+
<%= render Tailwind::SpeechBubbleComponent.new(size: "4xl", alignment: :right) do %> <%= @comments.count %> <% end %>