Skip to content
GitLab
    • Explore Projects Groups Snippets
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • M MathJax
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 304
    • Issues 304
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • MathJax
  • MathJax
  • Merge requests
  • !1462
Something went wrong while fetching comments. Please try again.

Bubble percentage widths up while line breaking in CHTML.

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Davide P. Cervone requested to merge github/fork/dpvc/issue1441 into develop 9 years ago
  • Overview 6
  • Commits 1
  • Pipelines 0
  • Changes 1

This fixes the multiple-tagged-equationwith-line-breaks issue that Peter reported in #1441 (closed) by making sure the line box gets width:100% when the line contains an item with 100% width.

Compare
  • develop (base)

and
  • latest version
    715dadf2
    1 commit, 2 years ago

1 file
+ 1
- 0

    Preferences

    File browser
    Compare changes
unpacked/jax/output/CommonHTML/autoload/multiline.js
+ 1
- 0
  • View file @ 715dadf2

  • Edit in single-file editor

  • Open in Web IDE


@@ -348,6 +348,7 @@ MathJax.Hub.Register.StartupHook("CommonHTML Jax Ready",function () {
//
var node = this.CHTMLnodeElement();
line.appendChild(node);
if (this.CHTML.pwidth && !line.style.width) line.style.width = this.CHTML.pwidth;
//
// If it is last, remove right margin
// If it is first, remove left margin
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
0
0 participants
Reference:
Source branch: github/fork/dpvc/issue1441

Menu

Explore Projects Groups Snippets