mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-01 01:30:51 +08:00
fix: update popup content to improve user interaction in MessageGroup component
This commit is contained in:
parent
07407f751f
commit
c28afebdfd
@ -216,7 +216,7 @@ const MessageGroup = ({ messages, topic, hidePresetMessages, registerMessageElem
|
|||||||
trigger={gridPopoverTrigger}
|
trigger={gridPopoverTrigger}
|
||||||
styles={{ root: { maxWidth: '60vw', minWidth: '550px', overflowY: 'auto', zIndex: 1000 } }}
|
styles={{ root: { maxWidth: '60vw', minWidth: '550px', overflowY: 'auto', zIndex: 1000 } }}
|
||||||
getPopupContainer={(triggerNode) => triggerNode.parentNode as HTMLElement}>
|
getPopupContainer={(triggerNode) => triggerNode.parentNode as HTMLElement}>
|
||||||
{wrappedMessage}
|
<div style={{ cursor: 'pointer' }}>{messageContent}</div>
|
||||||
</Popover>
|
</Popover>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user