From f24f0b4f5791073f39da084814a531c3e5d11aa4 Mon Sep 17 00:00:00 2001 From: Josh Hanley Date: Tue, 4 Aug 2026 12:51:26 +1000 Subject: [PATCH] Fix button vertical alignment in table cells --- stubs/resources/views/flux/table/cell.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/resources/views/flux/table/cell.blade.php b/stubs/resources/views/flux/table/cell.blade.php index 8700ad28..97d1582a 100644 --- a/stubs/resources/views/flux/table/cell.blade.php +++ b/stubs/resources/views/flux/table/cell.blade.php @@ -8,7 +8,7 @@ @php $classes = Flux::classes() - ->add('[:where(&)]:py-3 [:where(&)]:px-3 first:ps-0 last:pe-0 text-sm') + ->add('[:where(&)]:py-3 [:where(&)]:px-3 first:ps-0 last:pe-0 text-sm [&:has(>[data-flux-button])]:leading-[0] [&:has(>[data-flux-tooltip]>[data-flux-button])]:leading-[0]') ->add(match($align) { 'center' => 'text-center [&>*]:mx-auto', 'end' => 'text-end [&>*]:ms-auto',