Fix mermaid styling for git diagrams
Description
Mermaid supports drawing git diagrams. The git branches are assigned specific colors on this type of diagrams. However, currently GitLab has some custom styles that disables the background colors, and sometimes it results in white text on white background, making it unreadable.
This commit disables this custom style override for git diagram specific classes.
Before and after screenshots
Before | After |
---|---|
Related issues and links
Styles were added in !2452 (merged)