chatbox icon indicating copy to clipboard operation
chatbox copied to clipboard

公式渲染无法显示完全

Open lyhxjx opened this issue 6 months ago • 3 comments

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:

  1. Go to "..."
  2. Click on "..."
  3. Scroll down to "..."
  4. 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 描述 聊天框模型回复公式时如果超过一行剩余的将无法显示

重现步骤 让模型输出一个超过聊天框一行的数学公式

期望结果 数学公式可以滑动看全部

实际结果 只能看见一行的公式超过部分看不见

截图

Image

桌面端(请填写以下信息):

  • 操作系统:IOS
  • 应用程序版本:1.15.3

其他上下文 可以缩小公式以一行展示也可以在公式下加入滑动条

lyhxjx avatar Aug 12 '25 13:08 lyhxjx

Image 一样 android 1.15.4

Tzaurus avatar Sep 07 '25 09:09 Tzaurus

已解决: 编辑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 } 效果: Image

或者 .katex-display>.katex { display: block; text-align: left; overflow-x: auto !important; line-height: 2rem } 效果: Image

Tzaurus avatar Sep 07 '25 14:09 Tzaurus

这个问题在1.16.0-beta中也修复了

themez avatar Sep 08 '25 01:09 themez