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
279f099b
Unverified
Commit
279f099b
authored
Nov 06, 2023
by
zxhlyh
Committed by
GitHub
Nov 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: chat style (#1463)
parent
32747641
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
index.tsx
web/app/components/app/chat/more-info/index.tsx
+1
-1
style.module.css
web/app/components/app/chat/style.module.css
+0
-1
No files found.
web/app/components/app/chat/more-info/index.tsx
View file @
279f099b
...
...
@@ -9,7 +9,7 @@ export type IMoreInfoProps = { more: MessageMore; isQuestion: boolean }
const
MoreInfo
:
FC
<
IMoreInfoProps
>
=
({
more
,
isQuestion
})
=>
{
const
{
t
}
=
useTranslation
()
return
(<
div
className=
{
`mt-1
space-x-2 text-xs text-gray-400
${isQuestion ? 'mr-2 text-right ' : 'ml-2 text-left float-right'}`
}
>
return
(<
div
className=
{
`mt-1
w-full text-xs text-gray-400 !text-right
${isQuestion ? 'mr-2 text-right ' : 'ml-2 text-left float-right'}`
}
>
<
span
>
{
`${t('appLog.detail.timeConsuming')} ${more.latency}${t('appLog.detail.second')}`
}
</
span
>
<
span
>
{
`${t('appLog.detail.tokenCost')} ${formatNumber(more.tokens)}`
}
</
span
>
<
span
>
·
</
span
>
...
...
web/app/components/app/chat/style.module.css
View file @
279f099b
...
...
@@ -53,7 +53,6 @@
justify-content
:
flex-end
;
}
.answerWrap
,
.question
{
display
:
inline-block
;
max-width
:
100%
;
...
...
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