Skip to content

Unnecessary horizontal scroll bar for katex blocks #1935

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
flyingnobita opened this issue Apr 23, 2025 · 3 comments
Open

Unnecessary horizontal scroll bar for katex blocks #1935

flyingnobita opened this issue Apr 23, 2025 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@flyingnobita
Copy link

Description
For all Katex blocks, an unnecessary horizontal scroll bar is always displayed, even if the Katex formula fits properly without scrolling.

To Reproduce
Steps to reproduce the behaviour:

  1. Create a katex code block with $$...$$

Expected behaviour
A scrollbar should only be visible when the formula does not fit the view.

Screenshots and Source
Image

Desktop (please complete the following information):

  • Quartz Version: 4.5.0
  • node Version: 20.19.0
  • npm version: 10.8.2
  • OS: Macos
  • Browser: Arc (Chrome)
@flyingnobita flyingnobita added the bug Something isn't working label Apr 23, 2025
@saberzero1
Copy link
Collaborator

Hey, which renderEngine do you have configured?

@flyingnobita
Copy link
Author

Using the default settings, katex

@saberzero1
Copy link
Collaborator

Using the default settings, katex

Thanks. Seems fixed by small CSS rule change. I'll post a fix later today.

@saberzero1 saberzero1 self-assigned this Apr 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants