From b4872a47e7144178cb9357b4777f01913f7d18e4 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Mon, 6 May 2024 22:18:19 +0800 Subject: [PATCH] fix: #61 fix font family problem --- src/client/components/ui/dropdown-menu.tsx | 6 +++--- src/client/utils/dom.ts | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/client/components/ui/dropdown-menu.tsx b/src/client/components/ui/dropdown-menu.tsx index cedf9a7..2eb0ef7 100644 --- a/src/client/components/ui/dropdown-menu.tsx +++ b/src/client/components/ui/dropdown-menu.tsx @@ -5,8 +5,8 @@ import { ChevronRightIcon, DotFilledIcon, } from '@radix-ui/react-icons'; - import { cn } from '@/utils/style'; +import { rootEl } from '@/utils/dom'; const DropdownMenu = DropdownMenuPrimitive.Root; @@ -49,7 +49,7 @@ const DropdownMenuSubContent = React.forwardRef< , React.ComponentPropsWithoutRef >(({ className, sideOffset = 4, ...props }, ref) => ( - +