fix: fix known problems

This commit is contained in:
vince
2024-07-16 00:14:24 +08:00
parent cf16c7bdde
commit 09fa2af23d
21 changed files with 242 additions and 697 deletions

View File

@@ -1,4 +1,6 @@
<script setup lang="ts">
import type { HTMLAttributes } from 'vue';
import {
Tooltip,
TooltipContent,
@@ -9,6 +11,7 @@ import {
import { TooltipContentProps } from 'radix-vue';
interface Props {
contentClass?: HTMLAttributes['class'];
delayDuration?: number;
side: TooltipContentProps['side'];
}
@@ -26,6 +29,7 @@ withDefaults(defineProps<Props>(), {
<slot name="trigger"></slot>
</TooltipTrigger>
<TooltipContent
:class="contentClass"
:side="side"
class="side-content text-popover-foreground bg-popover"
>