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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use stylis to prepend idSelector #3829

Merged
merged 1 commit into from
Nov 29, 2022

Commits on Nov 21, 2022

  1. Use stylis to prepend idSelector

    code previously manually inserted idSelector before the generated CSS.
    This could produce incorrect CSS.
    
    Adding & in front of rules will ensure that it behaves properly.
    Stylis seems permissive about the lack of nesting selector, but fails
    if there is no selector at all. (e.g. "{...props...}")
    
    We should probably do this for each diagram's style.ts files as well
    DanInProgress committed Nov 21, 2022
    Configuration menu
    Copy the full SHA
    1f64302 View commit details
    Browse the repository at this point in the history