File tree Expand file tree Collapse file tree 3 files changed +35
-27
lines changed Expand file tree Collapse file tree 3 files changed +35
-27
lines changed Original file line number Diff line number Diff line change @@ -66,15 +66,17 @@ class="h-4 w-4 text-gray-500 dark:text-gray-400"
66
66
@endif
67
67
</div >
68
68
69
- <div class =" z-50 fi-popover-content w-[{{ $getPopOverMaxWidth } } px] ring-1 ring-gray-950/5 dark:ring-white/10 rounded-lg shadow-lg bg-white dark:bg-gray-800 transition"
70
- x-transition:enter-start =" opacity-0"
71
- x-transition:leave-end =" opacity-0"
72
- x-cloak
73
- x-ref =" panel"
74
- x-float.placement.{{ $getPlacement }}.flip.teleport.offset =" { offset: {{ $getOffset } } }"
75
- >
76
- {{ $getContent } }
77
- </div >
69
+ @if (filled ($getContent ) )
70
+ <div class =" z-50 fi-popover-content w-[{{ $getPopOverMaxWidth } } px] ring-1 ring-gray-950/5 dark:ring-white/10 rounded-lg shadow-lg bg-white dark:bg-gray-800 transition"
71
+ x-transition:enter-start =" opacity-0"
72
+ x-transition:leave-end =" opacity-0"
73
+ x-cloak
74
+ x-ref =" panel"
75
+ x-float.placement.{{ $getPlacement }}.flip.teleport.offset =" { offset: {{ $getOffset } } }"
76
+ >
77
+ {{ $getContent } }
78
+ </div >
79
+ @endif
78
80
79
81
@if (filled ($descriptionBelow ) )
80
82
<p
Original file line number Diff line number Diff line change @@ -33,13 +33,16 @@ class="h-4 w-4 text-gray-500 dark:text-gray-400"
33
33
@endif
34
34
</div >
35
35
36
- <div class =" z-50 fi-popover-content w-[{{ $getPopOverMaxWidth } } px] ring-1 ring-gray-950/5 dark:ring-white/10 rounded-lg shadow-lg bg-white dark:bg-gray-800 transition"
37
- x-transition:enter-start =" opacity-0"
38
- x-transition:leave-end =" opacity-0"
39
- x-cloak
40
- x-ref =" panel"
41
- x-float.placement.{{ $getPlacement }}.flip.teleport.offset =" { offset: {{ $getOffset } } }"
42
- >
43
- {{ $getContent } }
44
- </div >
36
+ @if (filled ($getContent ) )
37
+ <div class =" z-50 fi-popover-content w-[{{ $getPopOverMaxWidth } } px] ring-1 ring-gray-950/5 dark:ring-white/10 rounded-lg shadow-lg bg-white dark:bg-gray-800 transition"
38
+ x-transition:enter-start =" opacity-0"
39
+ x-transition:leave-end =" opacity-0"
40
+ x-cloak
41
+ x-ref =" panel"
42
+ x-float.placement.{{ $getPlacement }}.flip.teleport.offset =" { offset: {{ $getOffset } } }"
43
+ >
44
+ {{ $getContent } }
45
+ </div >
46
+ @endif
47
+
45
48
</div >
Original file line number Diff line number Diff line change @@ -45,14 +45,17 @@ class="h-4 w-4 text-gray-500 dark:text-gray-400"
45
45
@endif
46
46
</div >
47
47
48
- <div class =" z-50 fi-popover-content w-[{{ $getPopOverMaxWidth } } px] ring-1 ring-gray-950/5 dark:ring-white/10 rounded-lg shadow-lg bg-white dark:bg-gray-800"
49
- x-transition:enter-start =" opacity-0"
50
- x-transition:leave-end =" opacity-0"
51
- x-cloak
52
- x-ref =" panel"
53
- x-float.placement.{{ $getPlacement }}.flip.teleport.offset =" { offset: {{ $getOffset } } }"
54
- >
55
- {{ $getContent } }
56
- </div >
48
+ @if (filled ($getContent ) )
49
+ <div class =" z-50 fi-popover-content w-[{{ $getPopOverMaxWidth } } px] ring-1 ring-gray-950/5 dark:ring-white/10 rounded-lg shadow-lg bg-white dark:bg-gray-800"
50
+ x-transition:enter-start =" opacity-0"
51
+ x-transition:leave-end =" opacity-0"
52
+ x-cloak
53
+ x-ref =" panel"
54
+ x-float.placement.{{ $getPlacement }}.flip.teleport.offset =" { offset: {{ $getOffset } } }"
55
+ >
56
+ {{ $getContent } }
57
+ </div >
58
+ @endif
59
+
57
60
</div >
58
61
</x-dynamic-component >
You can’t perform that action at this time.
0 commit comments