File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed
Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change 22 <div ref =" triggerEl" class =" afcl-tooltip inline-flex items-center" >
33 <slot ></slot >
44 </div >
5- <Teleport to =" body" >
6- <div
7- role =" tooltip"
8- class =" absolute z-20 invisible inline-block px-3 py-2 text-sm font-medium text-lightTooltipText dark:darkTooltipText transition-opacity duration-300 bg-lightTooltipBackground rounded-lg shadow-sm opacity-0 tooltip dark:bg-darkTooltipBackground"
9- ref =" tooltip"
10- >
11- <slot name =" tooltip" ></slot >
12- <div class =" tooltip-arrow" data-popper-arrow ></div >
13- </div >
14- </Teleport >
15-
5+ <div
6+ role =" tooltip"
7+ class =" absolute z-20 invisible inline-block px-3 py-2 text-sm font-medium text-lightTooltipText dark:darkTooltipText transition-opacity duration-300 bg-lightTooltipBackground rounded-lg shadow-sm opacity-0 tooltip dark:bg-darkTooltipBackground"
8+ ref =" tooltip"
9+ >
10+ <slot name =" tooltip" ></slot >
11+ <div class =" tooltip-arrow" data-popper-arrow ></div >
12+ </div >
1613</template >
1714
1815<script setup lang="ts">
You can’t perform that action at this time.
0 commit comments