primary-theme/obsidian

Inline math ($formula$) is displayed on one line

Closed this issue · 1 comments

Hello Cécilia :)

Inline math ($formula$) is displayed on one line because of the following CSS:

mjx-math {
  width: 100%;
}

This shouldn't happen, only the $$x$$ should be on one line!
Thanks again

okay saw this and fixed it! should be good on the next release!

CleanShot 2024-05-24 at 20 41 58

the width: 100% was originally a fix for reading mode where the math block would scroll past the readable line width. so i used a better target selector for the fix! thanks for sending in the report 🫶