Skip to content

Commit

Permalink
fix: alignment of user actions on posts
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaryanpal committed Sep 19, 2024
1 parent a645e9a commit d291081
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<%= content_tag :div, class: "space-x-2 flex flex-row justify-between ml-2 has-record-selector:ml-0" do %>
<%= content_tag :div, class: "#{params[:view_type] == "grid" ? "flex-wrap" : "space-x-2"} flex flex-row justify-evenly ml-2 has-record-selector:ml-0" do %>
<% @resource.render_row_controls(item: singular_resource_name).each do |control| %>
<%= render_control control %>
<% end %>
Expand Down

0 comments on commit d291081

Please sign in to comment.