Improved centering for media table header elements

This commit is contained in:
Kieran Eglin 2024-05-23 15:03:57 -07:00
parent 7f62ae0a16
commit cb79d24fb9
No known key found for this signature in database
GPG key ID: 193984967FCF432D

View file

@ -20,8 +20,8 @@ defmodule Pinchflat.Sources.MediaItemTableLive do
def render(assigns) do
~H"""
<div>
<header class="flex justify-between items-center">
<span class="mb-4 flex items-center">
<header class="flex justify-between items-center mb-4">
<span class="flex items-center">
<.icon_button icon_name="hero-arrow-path" class="h-10 w-10" phx-click="reload_page" tooltip="Refresh" />
<span class="ml-2">Showing <%= length(@records) %> of <%= @filtered_record_count %></span>
</span>