style: temporarily adjust the style of the co-pilot (#2804)

This commit is contained in:
JimmFly
2023-06-16 15:12:59 +08:00
committed by GitHub
parent 03c0b6b364
commit f83c92cb87
5 changed files with 37 additions and 10 deletions
+8 -1
View File
@@ -9,7 +9,12 @@ import { createRoot } from 'react-dom/client';
import { ConversationList } from '../core/components/conversation-list';
import { FollowingUp } from '../core/components/following-up';
import { openAIApiKeyAtom, useChatAtoms } from '../core/hooks';
import { detailContentActionsStyle, detailContentStyle } from './index.css';
import {
detailContentActionsStyle,
detailContentStyle,
inputStyle,
sendButtonStyle,
} from './index.css';
if (typeof window === 'undefined') {
import('@blocksuite/blocks')
@@ -67,12 +72,14 @@ const Actions = () => {
<FollowingUp questions={questions} />
<div className={detailContentActionsStyle}>
<Input
className={inputStyle}
value={input}
onChange={text => {
setInput(text);
}}
/>
<Button
className={sendButtonStyle}
onClick={useCallback(async () => {
await call(input);
await generateFollowingUp();