feat(TranslatePage.tsx): add markdown style to handle whitespace properly in translation output
This commit is contained in:
parent
a267a8d4c3
commit
59b39dc41a
@ -56,8 +56,5 @@ electronDownload:
|
||||
afterSign: scripts/notarize.js
|
||||
releaseInfo:
|
||||
releaseNotes: |
|
||||
1. 保存聊天页面状态,切换页面后恢复
|
||||
2. 修复默认助手名称为空时候的显示问题
|
||||
3. 简化系统内置智能体提示词长度
|
||||
4. 增加单个聊天内容保存到本地功能
|
||||
5. 系统内置提供商支持修改 API 地址
|
||||
新增翻译模块
|
||||
修复了一些问题
|
||||
|
||||
@ -293,6 +293,9 @@ const OutputText = styled.div`
|
||||
padding: 5px 10px;
|
||||
max-height: calc(100vh - var(--navbar-height) - 120px);
|
||||
overflow: auto;
|
||||
.markdown {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
`
|
||||
|
||||
const TranslateButton = styled(Button)`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user