# \[BUG\] Flex containers set to auto basis don't size correctly

**URL:** <https://forum.inductiveautomation.com/t/bug-flex-containers-set-to-auto-basis-dont-size-correctly/104061>\
**Category:** Ignition\
**Created:** [March 23, 2025, 11:40pm UTC](https://forum.inductiveautomation.com/t/bug-flex-containers-set-to-auto-basis-dont-size-correctly/104061 "2025-03-23T23:40:04Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [March 27, 2025, 7:46am UTC](https://forum.inductiveautomation.com/t/bug-flex-containers-set-to-auto-basis-dont-size-correctly/104061/7 "2025-03-27T07:46:46Z")

</div>

Sounds similar to this issue you had a 3 years ago

> [@\[BUG\] Perspective flex "auto" not behaving as expected with icon and svg](https://forum.inductiveautomation.com/t/bug-perspective-flex-auto-not-behaving-as-expected-with-icon-and-svg/56604/15):
>
> 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 …

---

_[View the full topic](https://forum.inductiveautomation.com/t/bug-flex-containers-set-to-auto-basis-dont-size-correctly/104061)._
