Closed Mr-Technician closed 4 months ago
Good day, please how to make label link not blue background color, how to make nodemodel make background red or green. Best regards
Hello, I'll check this and get back to you!
I have had the same problem. I found that firefox doesn't display foreignObject elements that don't have a height and width defined. I was able to create a work around by adding to the css of a parent component:
::deep foreignObject.diagram-link-label { width: 100vw; height: 100wh; }
There is probably another css attribute that can be set to remove the need to set a large width and height to stop label wrapping.
It still works on Edge and Chrome.
I hope that helps
1px seems to be enough since in CSS I already added overflow: visible;
, I will add this to the next version!
Thanks! @zHaytam
Link labels do not render at all when using Firefox. This can be reproduced on the Blazor Diagrams home page:![image](https://github.com/Blazor-Diagrams/Blazor.Diagrams/assets/26885142/399afb18-2d90-490c-b56e-4271db72c74a)
Expected result:![image](https://github.com/Blazor-Diagrams/Blazor.Diagrams/assets/26885142/68243581-c369-4761-bb82-69c9e5857e0d)
I have tested Firefox on (latest version except in the last case):
All cases had the same issue.