Skip to content

Commit

Permalink
Fixup comment bubble on narrow screens
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Feb 28, 2024
1 parent d23f8fb commit 474c8c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/_tailwind/applications/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,11 @@
<%= render "create_alert_form_bigger", alert: @alert %>

<section class="pt-20 border-t mt-14 border-light-grey2" id="comments">
<%= 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 %>
<div class="relative inline-block ml-4 -top-6">
<div class="relative inline-block mt-6 mb-4 -top-6">
<%= render Tailwind::SpeechBubbleComponent.new(size: "4xl", alignment: :right) do %>
<%= @comments.count %>
<% end %>
Expand Down

0 comments on commit 474c8c5

Please sign in to comment.