style(projects): fix tooltip zIndex of ButtonIcon

This commit is contained in:
Soybean 2024-01-21 23:55:00 +08:00
parent 8b6de484b8
commit db747c4a03

View File

@ -58,7 +58,7 @@ const cls = computed(() => {
</DefineButton> </DefineButton>
<!-- template --> <!-- template -->
<NTooltip v-if="tooltipContent" :placement="tooltipPlacement"> <NTooltip v-if="tooltipContent" :placement="tooltipPlacement" :z-index="10">
<template #trigger> <template #trigger>
<Button :class-name="cls" v-bind="$attrs"> <Button :class-name="cls" v-bind="$attrs">
<slot> <slot>