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

Address code wrapping visual issue when both wrapLongLines and showLineNumbers are set to true #483

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Sep 14, 2022

  1. Configuration menu
    Copy the full SHA
    ec3082e View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2022

  1. nest children one more depth when showLineNumbers and wrapLongLines a…

    …re both on
    
    - When both the wrapLongLines and showLineNumbers props are turned on, if the code text is long enough to wrap, the `display: flex` on the wrapping span forces all its children to be equal height. Nesting the children one layer deep ensures that the line number aligns with the rest of the code in that line nicer.
    rdai10 committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    b7aefa4 View commit details
    Browse the repository at this point in the history
  2. update demos

    rdai10 committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    edb70c2 View commit details
    Browse the repository at this point in the history