-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
classDiagram styling does not work as documented #1649
Comments
The reason that I went with styling the inner rect is that when styling the g element it does NOT look good at all. For some reason the font style is changing without even having it set to change in my css. I will continue to look into this. |
Styling the inner rect is not the problem here but the fact that |
Can someone confirm for me if this is still an issue? As there have been many changes in the past 3 years ;) I will close this after 30 days if no response |
By now (following my previous link to the official documentation), the styling syntax of For my test page it just "bombs" the diagram, in the official documentation there just seems to be the text of So, yes, it's still an (now slightly different) issue. |
This will be resolved with #5880 |
The example from the documentation does not change color in the diagram.
This is because the current implementation puts the CSS class
cssClass
not on the SVGg
element but directly on itsrect
subelement.The current implementation is sub par because the divider lines between class header, variables and functions require further CSS selectors, otherwise they are not affected by styling.
I think the implementation should be changed to match the documentation.
Additionally the documentation should be changed to have a running example for styling as it is done within previous sections of the document.
The text was updated successfully, but these errors were encountered: