Skip to content
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

Prevent border-spacing and border-collapse from being inherited from an outer table #686

Merged
merged 1 commit into from
Apr 20, 2021

Conversation

dpvc
Copy link
Member

@dpvc dpvc commented Apr 19, 2021

This PR fixes a problem reported in WeBWorK (which is moving to v3). The math was inside a larger table that had border-spacing: 10px; border-collapse: separate, and the arrays generated by MathJax within that outer table inherited those properties, making the spacing wrong for the math. So I've added some CSS to the mjx-mtable element to reset these values.

@dpvc dpvc added this to the 3.1.3 milestone Apr 19, 2021
@dpvc dpvc requested a review from zorkow April 19, 2021 15:06
Copy link
Member

@zorkow zorkow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm.

@dpvc dpvc merged commit 5b664e6 into develop Apr 20, 2021
@dpvc dpvc deleted the mtable-css branch April 20, 2021 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants