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

mathbackground does not cover the expression's background #137

pkra opened this Issue Aug 6, 2018 · 1 comment


None yet
2 participants

pkra commented Aug 6, 2018

For example

<math xmlns="">
  <mstyle mathbackground="red">

Renders as


in mj3-demos, i.e., the background color is not filling the content's background, only a thin part at the bottom.

When I add

mjx-math * {
    background: inherit;

it looks ok but I'm not sure if that has side effects.


This comment has been minimized.


dpvc commented Aug 6, 2018

It looks like the CSS

mjx-mstyle {
  display: inline-block;

is missing. I thought these were added automatically for all the node types, but I will check the code to see what is happening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment