# Perspective flex containers compensating for 4k and 20k screens with my 1920x1080 page

**URL:** <https://forum.inductiveautomation.com/t/perspective-flex-containers-compensating-for-4k-and-20k-screens-with-my-1920x1080-page/60506>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [June 8, 2022, 5:55pm UTC](https://forum.inductiveautomation.com/t/perspective-flex-containers-compensating-for-4k-and-20k-screens-with-my-1920x1080-page/60506 "2022-06-08T17:55:31Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [June 9, 2022, 6:10am UTC](https://forum.inductiveautomation.com/t/perspective-flex-containers-compensating-for-4k-and-20k-screens-with-my-1920x1080-page/60506/2 "2022-06-09T06:10:35Z")

</div>

i have noticed that images and svgs in flexes sometimes behave odd. (This is a bug of html/css proabbly not perspective alone) try giving them a width/height (of auto idk)

> [@\[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/perspective-flex-containers-compensating-for-4k-and-20k-screens-with-my-1920x1080-page/60506)._
