Skip to content

Commit

Permalink
Make alert dismiss line up with text
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed May 30, 2024
1 parent 88b8dc3 commit 94c8952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/tailwind/alert_component.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="grow"><%= content %></div>
<%# TODO: Button needs a hover state %>
<%# TODO: This button doesn't do anything without javascript, so hide it until js is running %>
<button x-on:click="open=false" class="self-start hover:text-white-hover focus:outline-none focus:bg-sun-yellow focus:text-navy">
<button x-on:click="open=false" class="self-start p-2 hover:text-white-hover focus:outline-none focus:bg-sun-yellow focus:text-navy">
<%= render Tailwind::Icon.new(name: :dismiss) %>
</button>
</div>

0 comments on commit 94c8952

Please sign in to comment.