Skip to content

Bad position for rounded box with \enclose #864

Closed

Description

@Zahara-Nour

Description

The rounded box is misplaced when using \enclose with a fraction

Capture d’écran 2021-03-19 à 8 14 00 PM

Steps to Reproduce

  1. Use nightly build Mathlive testing playground
  2. copy/paste \enclose{roundedbox}[2px solid rgba(0, 255, 0, .8)]{\frac{1}{2}} in the mathfield

Environment

Operating System
macOS BigSur

Browser
Chrome

Activity

  1. Zahara-Nour commented on Mar 20, 2021

    @Zahara-Nour
    ContributorAuthor

    Tried to find a solution but the span hierarchy is hard to follow. The ML.notation span is a child of the ML.base span but the ML.base span height seems not to be correct.

  2. self-assigned this
    on Apr 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions