mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-18 14:59:53 +02:00

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