diff --git a/web/app/components/base/chat/chat-with-history/index.tsx b/web/app/components/base/chat/chat-with-history/index.tsx index dfd7bd21a7..a4972f948c 100644 --- a/web/app/components/base/chat/chat-with-history/index.tsx +++ b/web/app/components/base/chat/chat-with-history/index.tsx @@ -49,7 +49,7 @@ const ChatWithHistory: FC = ({ if (customConfig) document.title = `${site.title}` else - document.title = `${site.title} - Powered by Dify` + document.title = `${site.title} - Powered by OCloud` } }, [site, customConfig, themeBuilder]) diff --git a/web/app/components/base/chat/chat/chat-input-area/index.tsx b/web/app/components/base/chat/chat/chat-input-area/index.tsx index 73061b7db1..2f74cc65ce 100644 --- a/web/app/components/base/chat/chat/chat-input-area/index.tsx +++ b/web/app/components/base/chat/chat/chat-input-area/index.tsx @@ -28,6 +28,7 @@ import FeatureBar from '@/app/components/base/features/new-feature-panel/feature import type { FileUpload } from '@/app/components/base/features/types' import { TransferMethod } from '@/types/app' import useBreakpoints, { MediaType } from '@/hooks/use-breakpoints' +import './style.scss' type ChatInputAreaProps = { showFeatureBar?: boolean @@ -69,6 +70,7 @@ const ChatInputArea = ({ } = useTextAreaHeight() const [query, setQuery] = useState('') const [showVoiceInput, setShowVoiceInput] = useState(false) + const [isFocus, setIsFocus] = useState(false) const filesStore = useFileStore() const { handleDragFileEnter, @@ -169,70 +171,83 @@ const ChatInputArea = ({ /> ) + const handleFocus = () => { + setIsFocus(true) + } + const handleBlur = () => { + setIsFocus(false) + } + return ( <>
-
- -
-
-
- {query} +
+
+ +
+
+
+ {query} +
+