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
ac2a1bc9
Unverified
Commit
ac2a1bc9
authored
May 17, 2023
by
GarfieldLucy
Committed by
GitHub
May 17, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: chat log overflow style upgrade (#87)
Co-authored-by:
llx_changed
<
xi.liu@goodwe.com
>
parent
a4481a3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
list.tsx
web/app/components/app/log/list.tsx
+3
-3
No files found.
web/app/components/app/log/list.tsx
View file @
ac2a1bc9
...
@@ -166,7 +166,7 @@ function DetailPanel<T extends ChatConversationFullDetailResponse | CompletionCo
...
@@ -166,7 +166,7 @@ function DetailPanel<T extends ChatConversationFullDetailResponse | CompletionCo
return
res
return
res
})?.
name
??
'custom'
})?.
name
??
'custom'
return
(<
div
className=
'rounded-xl border-[0.5px] border-gray-200 h-full flex flex-col'
>
return
(<
div
className=
'rounded-xl border-[0.5px] border-gray-200 h-full flex flex-col
overflow-auto
'
>
{
/* Panel Header */
}
{
/* Panel Header */
}
<
div
className=
'border-b border-gray-100 py-4 px-6 flex items-center justify-between'
>
<
div
className=
'border-b border-gray-100 py-4 px-6 flex items-center justify-between'
>
<
div
className=
'flex-1'
>
<
div
className=
'flex-1'
>
...
@@ -207,7 +207,7 @@ function DetailPanel<T extends ChatConversationFullDetailResponse | CompletionCo
...
@@ -207,7 +207,7 @@ function DetailPanel<T extends ChatConversationFullDetailResponse | CompletionCo
<
div
className=
'text-gray-700 font-medium text-sm mt-2'
>
{
detail
.
model_config
?.
pre_prompt
||
emptyText
}
</
div
>
<
div
className=
'text-gray-700 font-medium text-sm mt-2'
>
{
detail
.
model_config
?.
pre_prompt
||
emptyText
}
</
div
>
</
div
>
</
div
>
{
!
isChatMode
{
!
isChatMode
?
<
div
className=
"px-2.5 py-4
overflow-y-auto
"
>
?
<
div
className=
"px-2.5 py-4"
>
<
Chat
<
Chat
chatList=
{
getFormattedChatList
([
detail
.
message
])
}
chatList=
{
getFormattedChatList
([
detail
.
message
])
}
isHideSendInput=
{
true
}
isHideSendInput=
{
true
}
...
@@ -217,7 +217,7 @@ function DetailPanel<T extends ChatConversationFullDetailResponse | CompletionCo
...
@@ -217,7 +217,7 @@ function DetailPanel<T extends ChatConversationFullDetailResponse | CompletionCo
/>
/>
</
div
>
</
div
>
:
items
.
length
<
8
:
items
.
length
<
8
?
<
div
className=
"px-2.5 pt-4 mb-4
overflow-y-auto
"
>
?
<
div
className=
"px-2.5 pt-4 mb-4"
>
<
Chat
<
Chat
chatList=
{
items
}
chatList=
{
items
}
isHideSendInput=
{
true
}
isHideSendInput=
{
true
}
...
...
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