Closed DarkEyeDragon closed 2 years ago
Hello!
If you want to override the default style, don't load it in the first place otherwise you'll have to overwrite every style element.
Try removing <link href="_content/Z.Blazor.Diagrams/default.styles.min.css" rel="stylesheet"/>
Hello, i'm trying to test your library to get a feel for it and hopefully use it in an upcoming project. However i seem to be unable to override the default node style.
I'm using v2.1.6 on a Blazor WASM project.
I made a custom node component to render:
InfoNodeComponent.razor
And the css:
InfoNodeComponent.razor.css
Which results in
![image](https://user-images.githubusercontent.com/6131099/160412720-ee2a95f8-13dd-4d47-8a70-0e82fc899e7f.png)
The background gets applied just fine so i know the css file is being loaded however the node style is not overridable.
So I checked the
index.html
in wwwrootWhich looks like:
Order seems fine here though. Any insight in this would be appreciated.