[Announce] node-red-contrib-ui-svg

No the problem is that it works fine for them ...
If you look e.g. at this dashboard from another user.
I simply cannot explain that it fitted the entire area nicely :exploding_head:

Although when I look at his SVG source:

<svg x="0" y="0" height="100%" viewBox="-0.1964024156332016 -0.0687660425901413 1000.392822265625 350.1374816894531" width="100%" preserveAspectRatio="xMidYMid meet">
  ...
</svg>

I assume that the width and height of the viewbox force the browser to fill the available area anyway (see stackoverflow).

Just don't want to break existing flows: incorrect resizing, wrong aspect ratio, ...

If anybody has any ideas/suggestions, please share them!!!

1 Like