mirror of
https://github.com/wassname/chatGPTBox.git
synced 2026-08-14 12:10:31 +08:00
- refactor(ConversationCard): add event listener to close the window on Escape key press
- refactor(ConversationCard): change style of header to allow for dragging - refactor(ConversationCard): change select width to auto - refactor(FloatingToolbar): change handle class from dragbar to draggable - refactor(styles.scss): add scrollbar and resizer styles to the conversation card and change select width to auto
This commit is contained in:
@@ -80,7 +80,7 @@ function FloatingToolbar(props) {
|
||||
return (
|
||||
<div data-theme={config.themeMode}>
|
||||
<Draggable
|
||||
handle=".dragbar"
|
||||
handle=".draggable"
|
||||
onDrag={dragEvent.onDrag}
|
||||
onStop={dragEvent.onStop}
|
||||
position={virtualPosition}
|
||||
|
||||
Reference in New Issue
Block a user