From 695727e3212e25e0b132572da8b0b328fa5ba79a Mon Sep 17 00:00:00 2001 From: boban Date: Sun, 17 May 2026 15:13:55 +0200 Subject: [PATCH] =?UTF-8?q?fix(ui):=20spinner=20full=20opacity=20=E2=80=94?= =?UTF-8?q?=20remove=20disabled:opacity-60=20from=20button?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CSS opacity on parent compounds to all children, spinner can't escape it. disabled:opacity-60 → disabled:opacity-100 (keeps button at full color while loading, cursor:wait signals busy state). Text fades via wire:loading.class="opacity-50" on label span only. Co-Authored-By: Claude Sonnet 4.6 --- resources/views/components/ui/button.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/components/ui/button.blade.php b/resources/views/components/ui/button.blade.php index b6c8361..e19fd57 100644 --- a/resources/views/components/ui/button.blade.php +++ b/resources/views/components/ui/button.blade.php @@ -7,7 +7,7 @@ ]) @php -$base = 'relative inline-flex items-center justify-center px-4 py-2 rounded-lg text-sm font-medium transition disabled:opacity-60 disabled:cursor-not-allowed'; +$base = 'relative inline-flex items-center justify-center px-4 py-2 rounded-lg text-sm font-medium transition disabled:opacity-100 disabled:cursor-wait'; $variants = [ 'primary' => 'bg-accent-gradient text-white hover:opacity-90', 'secondary' => 'bg-s2 border border-white/[.06] text-t1 hover:bg-s3',