Enable overflow scroll for tables inside tabs (#822)

This commit is contained in:
Edward Horsey
2025-12-16 17:28:51 +00:00
committed by GitHub
parent 163e8eb8cc
commit d38c26f6fd
2 changed files with 2 additions and 2 deletions
@@ -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>