Skip to content

Fix vector arrow positioning in CHTML. #1543 #1550

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

Merged
merged 1 commit into from
Aug 5, 2016
Merged

Conversation

dpvc
Copy link
Member

@dpvc dpvc commented Jul 5, 2016

Change class to mjx-box so that width will have the proper effect (due to fix in CSS in PR #1448). Resolves issue #1543.

@pkra pkra added this to the MathJax v2.x.x milestone Jul 6, 2016
@@ -1882,7 +1882,7 @@
// something, so put them over a space and remove the space's width
//
node = node.firstChild;
var space = CHTML.Element("mjx-span",{style:{width:".25em","margin-left":"-.25em"}});
var space = CHTML.Element("mjx-box",{style:{width:".25em","margin-left":"-.25em"}});
Copy link
Member

Choose a reason for hiding this comment

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

I assume this does not have any implications on CSS behaviour?

Copy link
Member Author

Choose a reason for hiding this comment

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

Only the desired one of making it work. :-)

The only CSS that these two set is the display value, and that is what needs to be changed. So there are no side-effects of this.

@zorkow
Copy link
Member

zorkow commented Aug 4, 2016

lgtm.

@dpvc dpvc merged commit 71369c3 into mathjax:develop Aug 5, 2016
@dpvc dpvc deleted the issue1543 branch August 5, 2016 14:26
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.

3 participants