Skip to content

Commit

Permalink
fix: clicking on image
Browse files Browse the repository at this point in the history
  • Loading branch information
mansoorkhan96 committed Oct 19, 2024
1 parent 5c38dc9 commit 2d2be8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/livewire/unsplash-picker-component.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@ class="absolute inset-0 z-10 flex items-center justify-center bg-gray-100 bg-opa
src="{{ $item['urls']['thumb'] }}"
>
<button
@click="toggleImageSelect(@js($item))"
@click.stop="toggleImageSelect(@js($item))"
type="button"
class="absolute inset-0 w-full flex-col justify-between flex"
>
<div class="px-3 py-2">
<x-filament::input.checkbox
class="invisible checked:visible group-hover:visible group-hover:ring-2 group-hover:ring-primary-500 group-hover:dark:ring-primary-500"
class="invisible checked:visible group-hover:visible group-hover:ring-2 group-hover:ring-primary-500 cursor-pointer group-hover:dark:ring-primary-500"
x-bind:checked="isSelected('{{ $item['id'] }}')"
/>
</div>
Expand Down

0 comments on commit 2d2be8a

Please sign in to comment.