# Flex wrap enlarges my container (even when not wrapping)

**URL:** <https://forum.inductiveautomation.com/t/flex-wrap-enlarges-my-container-even-when-not-wrapping/62162>\
**Category:** Ignition\
**Created:** [July 21, 2022, 1:24pm UTC](https://forum.inductiveautomation.com/t/flex-wrap-enlarges-my-container-even-when-not-wrapping/62162 "2022-07-21T13:24:16Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [August 10, 2022, 1:25pm UTC](https://forum.inductiveautomation.com/t/flex-wrap-enlarges-my-container-even-when-not-wrapping/62162/5 "2022-08-10T13:25:14Z")

</div>

its probably the icons

> [@\[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/flex-wrap-enlarges-my-container-even-when-not-wrapping/62162)._
