Skip to content

Commit b9fd56c

Browse files
committed
Add pointer-events-none in the right place
1 parent 148f46d commit b9fd56c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/gitbook/src/components/AIChat/AIChatInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export function AIChatInput(props: {
110110
<div className="absolute inset-x-0 bottom-0 flex items-center gap-2 px-2 py-2">
111111
<HoverCardRoot openDelay={500}>
112112
<HoverCard
113-
className="max-w-xs select-none bg-tint p-2 text-sm text-tint"
113+
className="max-w-xs bg-tint p-2 text-sm text-tint"
114114
arrow={{ className: 'fill-tint-3' }}
115115
>
116116
<div className="flex flex-col gap-3 p-2">

packages/gitbook/src/components/primitives/HoverCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export function HoverCard(
2828
<RadixHoverCard.Portal>
2929
<RadixHoverCard.Content
3030
side={props.side ?? 'top'}
31-
className="z-40 w-screen max-w-md animate-scale-in px-4 data-[state='closed']:animate-scale-out sm:w-auto"
31+
className="pointer-events-none z-40 w-screen max-w-md animate-scale-in px-4 data-[state='closed']:animate-scale-out sm:w-auto"
3232
>
3333
<div
3434
className={tcls(

0 commit comments

Comments
 (0)