Skip to content

Commit

Permalink
Button loading state. Force rounded
Browse files Browse the repository at this point in the history
  • Loading branch information
howdu committed Jan 2, 2023
1 parent 302eeb8 commit c57a9d0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions resources/views/livewire/clear-cache-button.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<x-filament::button wire:click="clear" type="button" style="margin-inline-start: 1rem;" @class([
<x-filament::button wire:click="clear" type="button" color="secondary" style="margin-inline-start: 1rem;border-radius:100%;border:none" @class([
'flex flex-shrink-0 w-10 h-10 rounded-full bg-gray-200 items-center justify-center',
'dark:bg-gray-900' => config('filament.dark_mode'),
]) x-tooltip.raw="{{ __('filament-clear-cache::general.clear_cache') }}">
<x-heroicon-s-trash class="w-4 h-4"/>
<x-heroicon-s-trash wire:loading.remove.delay class="w-5 h-5"/>
<x-filament-support::loading-indicator x-cloak wire:loading.delay wire:target="clear" class="filament-button-icon w-5 h-5"/>
</x-filament::button>

0 comments on commit c57a9d0

Please sign in to comment.