feat: enhanced user experience with layout adjustments.

- This commit addresses key feature enhancements and minor optimizations for improved user experience and functionality.
- Adjusted margin top for upload container to a positive value.
- Adjusted the max-height of the container to improve rendering on smaller screens.
This commit is contained in:
kangfenmao 2024-09-19 12:04:06 +08:00
parent af8144d45e
commit bfa6bfa196
3 changed files with 6 additions and 9 deletions

View File

@ -60,13 +60,10 @@ afterSign: scripts/notarize.js
releaseInfo: releaseInfo:
releaseNotes: | releaseNotes: |
本次更新: 本次更新:
数据结构调整,更新后会自动迁移数据 增加了30多种文本文档格式选择
支持从特定消息创建新分支 支持粘贴图片和文件到聊天输入框
长代码添加底部复制按钮 支持将对话移动到其他智能体了
AI 回复过程中支持复制代码
优化消息列表渲染性能
近期更新: 近期更新:
支持 Vision 模型 支持 Vision 模型
新增文件功能 新增文件功能
智能助理和消息列表合并 支持从特定消息创建新分支
支持行内公式

View File

@ -18,7 +18,7 @@ const MessageAttachments: FC<Props> = ({ message }) => {
} }
return ( return (
<Container style={{ marginTop: -5 }}> <Container style={{ marginTop: 2 }}>
<Upload <Upload
listType="picture" listType="picture"
disabled disabled

View File

@ -154,7 +154,7 @@ const Container = styled.div`
flex-direction: column; flex-direction: column;
padding-top: 10px; padding-top: 10px;
overflow-y: scroll; overflow-y: scroll;
max-height: calc(100vh - var(--navbar-height) - 140px); max-height: calc(100vh - var(--navbar-height) - 50px);
` `
const TopicListItem = styled.div` const TopicListItem = styled.div`