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"
6666 @endif
6767 </div >
6868
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
7880
7981 @if (filled ($descriptionBelow ) )
8082 <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"
3333 @endif
3434 </div >
3535
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+
4548</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"
4545 @endif
4646 </div >
4747
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+
5760 </div >
5861</x-dynamic-component >
You can’t perform that action at this time.
0 commit comments