Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Commit 97e103b

Browse files
committed
Fix styles
1 parent 31b4545 commit 97e103b

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

resources/views/components/inputs/date-picker.blade.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ class="leading-addon cursor-pointer"
3131
<input
3232
{{ $attributes->merge(['class' => $inputClass()])->except('type')->whereDoesntStartWith('wire:model') }}
3333

34+
wire:ignore
3435
name="{{ $name }}"
3536
@if ($id) id="{{ $id }}" @endif
3637
x-ref="input"
@@ -49,17 +50,16 @@ class="leading-addon cursor-pointer"
4950
/>
5051

5152
@if ($clearable)
52-
<div x-show="Boolean(value)"
53-
x-cloak
54-
class="trailing-icon"
55-
>
56-
<div x-on:click="value = null; fp.setDate(value)"
57-
class="form-input-clear"
58-
role="button"
53+
<div class="trailing-icon">
54+
<button x-show.transition.opacity.150ms="Boolean(value)"
55+
x-on:click="value = null; fp.setDate(value)"
56+
x-cloak
57+
class="form-input-clear"
58+
type="button"
5959
>
60+
<span class="sr-only">{{ __('Clear selected') }}</span>
6061
{{ svg($clearIcon) }}
61-
</div>
62-
62+
</button>
6363
</div>
6464
@else
6565
@include('form-components::partials.trailing-addons')

0 commit comments

Comments
 (0)