Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dify
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tech
dify
Commits
612c4ecb
Commit
612c4ecb
authored
Jul 07, 2023
by
StyleZhang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feat/chat-support-voice-input' into deploy/dev
parents
cf547010
90f1d5d9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
index.tsx
web/app/components/app/chat/index.tsx
+1
-1
style.module.css
web/app/components/app/chat/style.module.css
+1
-0
No files found.
web/app/components/app/chat/index.tsx
View file @
612c4ecb
...
...
@@ -577,7 +577,7 @@ const Chat: FC<IChatProps> = ({
minHeight=
{
48
}
autoFocus
controlFocus=
{
controlFocus
}
className=
{
`${cn(s.textArea)}
${isShowSpeechToText ? 'pr-[130px]' : 'pr-[90px]'}
resize-none block w-full pl-3 bg-gray-50 border border-gray-200 rounded-md focus:outline-none sm:text-sm text-gray-700`
}
className=
{
`${cn(s.textArea)} resize-none block w-full pl-3 bg-gray-50 border border-gray-200 rounded-md focus:outline-none sm:text-sm text-gray-700`
}
/>
<
div
className=
"absolute top-0 right-2 flex items-center h-[48px]"
>
<
div
className=
{
`${s.count} mr-4 h-5 leading-5 text-sm bg-gray-50 text-gray-500`
}
>
{
query
.
trim
().
length
}
</
div
>
...
...
web/app/components/app/chat/style.module.css
View file @
612c4ecb
...
...
@@ -79,6 +79,7 @@
.textArea
{
padding-top
:
13px
;
padding-bottom
:
13px
;
padding-right
:
130px
;
border-radius
:
12px
;
line-height
:
20px
;
background-color
:
#fff
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment