Skip to content

Commit 55164db

Browse files
Make the search button clickable on Tailwind
1 parent 1b3fe44 commit 55164db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/views/tailwind/includes/search.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ class="flex-1 shadow-sm border-cool-gray-300 block w-full transition duration-15
88
/>
99

1010
@if (isset($filters['search']) && strlen($filters['search']))
11-
<span class="inline-flex items-center px-3 rounded-r-md border border-l-0 border-gray-300 bg-gray-50 text-gray-500 sm:text-sm">
12-
<svg wire:click="$set('filters.search', null)" xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor">
11+
<span wire:click="$set('filters.search', null)" class="inline-flex items-center px-3 rounded-r-md border border-l-0 border-gray-300 bg-gray-50 text-gray-500 cursor-pointer sm:text-sm">
12+
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor">
1313
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" />
1414
</svg>
1515
</span>

0 commit comments

Comments
 (0)