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

Improve positioning of extenders for stretchy characters. (mathjax/MathJax#2547) #675

Merged
merged 1 commit into from
Apr 14, 2021

Conversation

dpvc
Copy link
Member

@dpvc dpvc commented Mar 31, 2021

This PR adjusts the CSS used for multi-glyph horizontal and vertical stretchy delimiters to make the pieces match up better. It does this by making sure all the pieces are given the same height and depth (for horizontal) and width (for vertical). The horizontal ones were the worst offenders, particularly for arrows, and this seems to resolve the problems, even when zoomed in or out. I have tested in Firefox, Chrome, and Safari.

Resolves issue mathjax/MathJax#2547 and mathjax/MathJax#2642.

@dpvc dpvc added this to the 3.1.3 milestone Mar 31, 2021
@dpvc dpvc requested a review from zorkow March 31, 2021 14:21
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.

Also tested on Brave and Edge.

@dpvc dpvc merged commit 0df3509 into develop Apr 14, 2021
@dpvc dpvc deleted the issue2547 branch April 14, 2021 14:00
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