From b921be855d30f601567cc528010d434b00ff7d4e Mon Sep 17 00:00:00 2001 From: Andreas Reinhold / reini Date: Mon, 14 Sep 2026 06:18:19 +0200 Subject: [PATCH] Revert "Mark a FAB's root with data-fab" This reverts commit 4d4862189add32e866e9610ed6b6979679547aa3. --- resources/views/components/fab.blade.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/resources/views/components/fab.blade.php b/resources/views/components/fab.blade.php index a074052a..91c02076 100644 --- a/resources/views/components/fab.blade.php +++ b/resources/views/components/fab.blade.php @@ -9,9 +9,6 @@ `
`. For a create action that is a FAB on a phone and a header button above, use ``. - `data-fab` marks the root, so a component that nests a FAB can restyle it from its own - stylesheet — a rail drops its elevation to 0, as M3 asks of a nested FAB. - Sizes, corners and elevation from FabBaseline/Medium/LargeTokens and ExtendedFab*Tokens (androidx Compose Material 3, Apache-2.0). --}} @@ -66,7 +63,7 @@ ], fn ($value): bool => $value !== null)); @endphp -<{{ $tag }} data-fab {{ $attributes }}> +<{{ $tag }} {{ $attributes }}> @if ($icon) @endif