mirror of
https://github.com/filamentphp/filament.git
synced 2026-10-24 23:35:30 +08:00
Add hover/focus to non-active tabs
This commit is contained in:
@@ -64,7 +64,7 @@
|
||||
x-bind:tabindex="tab === '{{ $tab->getId() }}' ? 0 : -1"
|
||||
class="filament-forms-tabs-component-button flex items-center gap-2 shrink-0 p-3 text-sm font-medium"
|
||||
x-bind:class="{
|
||||
'text-gray-500 @if (config('forms.dark_mode')) dark:text-gray-400 @endif': tab !== '{{ $tab->getId() }}',
|
||||
'text-gray-500 hover:text-gray-800 focus:text-primary-600 @if (config('forms.dark_mode')) dark:text-gray-400 dark:hover:text-gray-300 dark:focus:text-primary-400 @endif': tab !== '{{ $tab->getId() }}',
|
||||
'filament-forms-tabs-component-button-active bg-white text-primary-600 @if (config('forms.dark_mode')) dark:bg-gray-800 @endif': tab === '{{ $tab->getId() }}',
|
||||
}"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user