Skip to content

Commit

Permalink
Update popover-column.blade.php
Browse files Browse the repository at this point in the history
  • Loading branch information
atmonshi committed Feb 9, 2024
1 parent 0152e10 commit 0e040bb
Showing 1 changed file with 7 additions and 18 deletions.
25 changes: 7 additions & 18 deletions resources/views/popover-column.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,29 +27,18 @@ class="fi-popover fi-ta-text grid w-full gap-y-1 px-3 py-4"
</p>
@endif

<div class="w-full fi-popover-trigger cursor-pointer flex items-center gap-2"
@if($getContent !== null)
x-tooltip="{
trigger: '{{ $getTrigger }}',
placement: '{{ $getPlacement }}',
offset: @js($getOffset),
maxWidth: '{{ $getPopOverMaxWidth }}',
content: () => $refs.template.innerHTML,
appendTo: $root,
allowHTML: true,
interactive: true,
theme: $store.theme,
}"
@endif
<div
class="relative w-full fi-popover-trigger cursor-pointer flex items-center gap-2"
x-ref="button"
@click="open = ! open"
{{--@pointerenter="open = ! open"--}}
>

{{ $getState }}

@if($getIcon)
<x-filament::icon
:icon="$getIcon"
class="h-5 w-5 text-gray-500 dark:text-gray-400"
:icon="$getIcon"
class="h-5 w-5 text-gray-500 dark:text-gray-400"
/>
@endif
</div>
Expand Down

0 comments on commit 0e040bb

Please sign in to comment.