Describe the bug
When latex rendering is set to true in config.toml, UI displayed two vertical scrollbars
To Reproduce
Steps to reproduce the behavior:
- Set latex=true in config.toml
- Create an app.py, send a message with latex equation, here my program:
import chainlit as cl
@cl.on_message
async def main(message: cl.Message):
await cl.Message(
content="Here is the quadratic formula:\n$$x = \\frac{-b \\pm \\sqrt{b^2 - 4ac}}{2a}$$"
).send()
- Start the chainlit
- Send the message a couple of times until the scrollbar appears
- Two scrollbars show up on the right hand side
Expected behavior
Expected to only see one vertical scrollbar
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Windows 11
- Browser: chrome, edge
- Version: 2.11.1
Smartphone (please complete the following information):
Additional context
There is a related issue: #2003

Describe the bug
When latex rendering is set to true in config.toml, UI displayed two vertical scrollbars
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expected to only see one vertical scrollbar
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
There is a related issue: #2003