[BUG] Perspective flex "auto" not behaving as expected with icon and svg

So i ran against this problem myself the other day, but in a tottaly different situation with one of my custom components. So i put on some javascript to debug and it seems like the svgs are doing weird things with their width in flex containers. This seems to be a browser issue, not ignitions fault.

You can fix it by putting a width in the style of the svg/icon!

@nminchin
i just tested it out on the example you once send and it seems to work for this too
image
image
adding a width to the embedded container with the icon works too for the “too wide” thing
image
in flex repeater with wrap, which was what you wanted?:

@richardNZ15 it probably should work for you too

9 Likes