Skip to content

Commit

Permalink
Stack buttons on small screens
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Feb 12, 2024
1 parent ad492bf commit 1866c30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/_tailwind/comments/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
</p>
<%= image_tag "tailwind/illustration/send-comment.svg", alt: "" %>
</div>
<div class="flex gap-4 mt-12">
<div class="flex flex-col gap-4 mt-12 sm:flex-row">
<%= f.button "Review and publish" %>
<%= f.button "Clear form", name: "clear", type: :secondary, disabled: !comment.persisted? %>
</div>
Expand Down

0 comments on commit 1866c30

Please sign in to comment.