Skip to content

mjx-help icon cut off in when displayOverflow is set to "scroll" #3432

@Cwooper

Description

@Cwooper

Issue Summary

Loading MathJax with displayOverflow: "scroll" clips the mjx-help icon.

Note that the left and right borders of equations are cut off. The info icon also doesn't stay in the top right due to the absolute css positioning.

Steps to Reproduce:

Load MathJax with displayOverflow: "scroll". See CodePen page, screenshots, and MathJax configuration below.

Technical details:

  • MathJax Version: 4.0.0
  • Client OS: Windows 11 (26100.4061)
  • Browser: Firefox (143.0b9), Chrome (139.0.7258.155), and Edge (139.0.3405.125)

I am using the following MathJax configuration:

<script>
 window.MathJax = {
   output: {
     displayOverflow: "scroll",
   },
 };
</script>

and loading MathJax via

<script
 type="text/javascript"
 src="https://cdn.jsdelivr.net/npm/mathjax@4/mml-chtml.js"
></script>

Supporting information:

Image Image

CodePen

Metadata

Metadata

Assignees

No one assigned

    Labels

    AcceptedIssue has been reproduced by MathJax teamCode ExampleContains an illustrative code example, solution, or work-aroundMergedMerged into develop branchv4

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions