style: ui style
This commit is contained in:
@@ -39,6 +39,13 @@ const ChatFooter: React.FC<ChatFooterProps> = (props) => {
|
||||
},
|
||||
{ enabled: !disabled }
|
||||
);
|
||||
useHotkeys(
|
||||
HotKeys.CREATE.join(','),
|
||||
(e) => {
|
||||
onNewMessage();
|
||||
},
|
||||
{ enabled: !disabled }
|
||||
);
|
||||
|
||||
return (
|
||||
<div className="chat-footer">
|
||||
@@ -52,6 +59,7 @@ const ChatFooter: React.FC<ChatFooterProps> = (props) => {
|
||||
onClick={onNewMessage}
|
||||
>
|
||||
{intl.formatMessage({ id: 'playground.newMessage' })}
|
||||
<span className="m-l-5 opct-7">CTRL+SHIFT+ N</span>
|
||||
</Button>
|
||||
<Button
|
||||
icon={<DeleteOutlined></DeleteOutlined>}
|
||||
|
||||
Reference in New Issue
Block a user