Skip to content

Commit 072e60d

Browse files
authored
Remove horizontal padding on comments pagination (#8925)
1 parent 84fc079 commit 072e60d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/views/active_admin/shared/_resource_comments.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@
3737
<% end %>
3838
</div>
3939
<% end %>
40-
<div class="p-2 lg:p-4 flex flex-col-reverse lg:flex-row gap-4 items-center justify-between">
40+
<div class="py-2 lg:py-4 flex flex-col-reverse lg:flex-row gap-4 items-center justify-between">
4141
<div>
4242
<%= page_entries_info(comments).html_safe %>
4343
</div>
4444
<%= paginate(comments, views_prefix: :active_admin, outer_window: 1, window: 2) %>
4545
</div>
4646
<% else %>
47-
<div class="p-8 text-center">
47+
<div class="py-8 text-center">
4848
<%= I18n.t("active_admin.comments.no_comments_yet") %>
4949
</div>
5050
<% end %>

0 commit comments

Comments
 (0)