Skip to content

Commit c544dfc

Browse files
committed
fix(modal): close button can not click on electron
Signed-off-by: Innei <tukon479@gmail.com>
1 parent f61dc56 commit c544dfc

File tree

1 file changed

+1
-1
lines changed
  • apps/renderer/src/components/ui/modal/components

1 file changed

+1
-1
lines changed

apps/renderer/src/components/ui/modal/components/close.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const FixedModalCloseButton: Component<{
1212
<TooltipTrigger
1313
type="button"
1414
className={cn(
15-
"center flex size-8 rounded-full bg-background p-1 shadow-sm ring-1 ring-zinc-200 dark:ring-neutral-800",
15+
"no-drag-region center flex size-8 rounded-full bg-background p-1 shadow-sm ring-1 ring-zinc-200 dark:ring-neutral-800",
1616
className,
1717
)}
1818
onClick={onClick}

0 commit comments

Comments
 (0)