公式渲染无法显示完全
Bug Description Please provide a clear and concise description of what the bug is.
Steps to Reproduce Please provide the steps to reproduce the bug:
- Go to "..."
- Click on "..."
- Scroll down to "..."
- Observe the bug.
Expected Results Please provide a clear and concise description of what you expected to happen.
Actual Results Please provide a clear and concise description of what actually happened.
Screenshots If possible, please add screenshots to help explain the issue.
Desktop (please complete the following information):
- Operating System: [e.g. macOS]
- Application Version: [e.g. 2.0.1]
Additional Context Please provide any additional context about the issue, such as interactions with other software or applications.
Bug 描述 聊天框模型回复公式时如果超过一行剩余的将无法显示
重现步骤 让模型输出一个超过聊天框一行的数学公式
期望结果 数学公式可以滑动看全部
实际结果 只能看见一行的公式超过部分看不见
截图
桌面端(请填写以下信息):
- 操作系统:IOS
- 应用程序版本:1.15.3
其他上下文 可以缩小公式以一行展示也可以在公式下加入滑动条
一样
android 1.15.4
已解决:
编辑apk下的/assets/public/main.64e858dad79be53b1986.css
找到
.katex-display>.katex {
display: block;
text-align: center;
white-space: nowrap
}
更改为:
.katex-display>.katex {
display: block;
text-align: center;
overflow-x: auto !important;
white-space: nowrap;
line-height: 2rem
}
效果:
或者
.katex-display>.katex {
display: block;
text-align: left;
overflow-x: auto !important;
line-height: 2rem
}
效果:
这个问题在1.16.0-beta中也修复了