Enable overflow scroll for tables inside tabs (#822)

This commit is contained in:
Edward Horsey authored and GitHub committed 2025-12-16 09:28:51 -08:00
1 parent 163e8eb8cc
commit d38c26f6fd
2 files changed
+2 -2

No files matched your search

@@ -41,7 +41,7 @@ defmodule PinchflatWeb.CustomComponents.TabComponents do
{render_slot(@tab_append)}
</div>
</header>
<div class="mt-4 min-h-60">
<div class="mt-4 min-h-60 overflow-x-auto">
<div :for={tab <- @tab} x-show={"openTab === '#{tab.id}'"} class="font-medium leading-relaxed">
{render_slot(tab)}
</div>