Skip to content

Commit 0347c5b

Browse files
committed
fix: enhance tooltip arrow styling for improved visibility
1 parent eae9b8a commit 0347c5b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

adminforth/spa/src/afcl/Tooltip.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
ref="tooltip"
1010
>
1111
<slot name="tooltip"></slot>
12-
<div class="tooltip-arrow" data-popper-arrow></div>
12+
<div class="tooltip-arrow absolute -top-2" data-popper-arrow>
13+
<div class="absolute top-0 -left-0.5 w-0 h-0 border-l-8 border-r-8 border-b-8 border-l-transparent border-r-transparent border-b-lightTooltipBackground dark:border-b-darkTooltipBackground"></div>
14+
</div>
1315
</div>
1416
</teleport>
1517
</template>

0 commit comments

Comments
 (0)