From 0776f26ab283ef58b7c36abdd56503700d2b86ae Mon Sep 17 00:00:00 2001 From: Edward Horsey Date: Sat, 1 Nov 2025 15:45:52 +0000 Subject: [PATCH] Enable overflow scroll for tables inside tabs --- .../components/custom_components/tab_components.ex | 2 +- .../controllers/sources/source_html/media_item_table_live.ex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pinchflat_web/components/custom_components/tab_components.ex b/lib/pinchflat_web/components/custom_components/tab_components.ex index baade53..e566b58 100644 --- a/lib/pinchflat_web/components/custom_components/tab_components.ex +++ b/lib/pinchflat_web/components/custom_components/tab_components.ex @@ -41,7 +41,7 @@ defmodule PinchflatWeb.CustomComponents.TabComponents do {render_slot(@tab_append)} -
+
{render_slot(tab)}
diff --git a/lib/pinchflat_web/controllers/sources/source_html/media_item_table_live.ex b/lib/pinchflat_web/controllers/sources/source_html/media_item_table_live.ex index 604ee49..de4c7ab 100644 --- a/lib/pinchflat_web/controllers/sources/source_html/media_item_table_live.ex +++ b/lib/pinchflat_web/controllers/sources/source_html/media_item_table_live.ex @@ -23,7 +23,7 @@ defmodule PinchflatWeb.Sources.MediaItemTableLive do
<.icon_button icon_name="hero-arrow-path" class="h-10 w-10" phx-click="reload_page" tooltip="Refresh" /> - + Showing <.localized_number number={length(@records)} /> of <.localized_number number={@filtered_record_count} />