diff --git a/lightrag_webui/src/components/ui/Popover.tsx b/lightrag_webui/src/components/ui/Popover.tsx index da1c9a5b..b81456ef 100644 --- a/lightrag_webui/src/components/ui/Popover.tsx +++ b/lightrag_webui/src/components/ui/Popover.tsx @@ -11,18 +11,16 @@ const PopoverContent = React.forwardRef< React.ComponentRef, React.ComponentPropsWithoutRef >(({ className, align = 'center', sideOffset = 4, ...props }, ref) => ( - - - + )) PopoverContent.displayName = PopoverPrimitive.Content.displayName diff --git a/lightrag_webui/src/components/ui/Tooltip.tsx b/lightrag_webui/src/components/ui/Tooltip.tsx index e52a82aa..26fc600e 100644 --- a/lightrag_webui/src/components/ui/Tooltip.tsx +++ b/lightrag_webui/src/components/ui/Tooltip.tsx @@ -38,7 +38,7 @@ const TooltipContent = React.forwardRef< side={side} align={align} className={cn( - 'bg-popover text-popover-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 max-h-[60vh] overflow-y-auto whitespace-pre-wrap break-words rounded-md border px-3 py-2 text-sm shadow-md', + 'bg-popover text-popover-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 max-h-[60vh] overflow-y-auto whitespace-pre-wrap break-words rounded-md border px-3 py-2 text-sm shadow-md z-60', className )} {...props}