feat(reward tier): menambahkan gap pada table

This commit is contained in:
Yoga Pangestu 2025-11-09 20:09:38 +07:00
parent 2a7ccac081
commit b0649a1a65

View File

@ -17,10 +17,12 @@
<flux:table.cell>{{ $reward['name'] }}</flux:table.cell> <flux:table.cell>{{ $reward['name'] }}</flux:table.cell>
<flux:table.cell>{{ $reward['value'] }}</flux:table.cell> <flux:table.cell>{{ $reward['value'] }}</flux:table.cell>
<flux:table.cell> <flux:table.cell>
<div class="flex gap-2 pt-2 border-gray-200 dark:border-gray-700">
@can('update tier reward') @can('update tier reward')
<flux:modal.trigger name="reward-form-modal"> <flux:modal.trigger name="reward-form-modal">
<flux:tooltip content="Ubah"> <flux:tooltip content="Ubah">
<flux:button variant="primary" color="yellow" icon="pencil-square" size="sm" <flux:button variant="primary" color="yellow" icon="pencil-square"
size="sm"
wire:click="$dispatch('modal:open:reward', {method: 'update', 'modalTitle': 'Ubah Hadiah', 'tier_id': '{{ $reward['tier_id'] }}', 'id' : '{{ $reward['hash'] }}'})"> wire:click="$dispatch('modal:open:reward', {method: 'update', 'modalTitle': 'Ubah Hadiah', 'tier_id': '{{ $reward['tier_id'] }}', 'id' : '{{ $reward['hash'] }}'})">
</flux:button> </flux:button>
</flux:tooltip> </flux:tooltip>
@ -36,6 +38,7 @@
</flux:tooltip> </flux:tooltip>
</flux:modal.trigger> </flux:modal.trigger>
@endcan @endcan
</div>
</flux:table.cell> </flux:table.cell>
</flux:table.row> </flux:table.row>
@endforeach @endforeach