# Perspective Popup runtime resize behavior

**URL:** <https://forum.inductiveautomation.com/t/perspective-popup-runtime-resize-behavior/57007>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [March 9, 2022, 9:42am UTC](https://forum.inductiveautomation.com/t/perspective-popup-runtime-resize-behavior/57007 "2022-03-09T09:42:05Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![Kevin\_Verschueren](https://avatars.discourse-cdn.com/v4/letter/k/dc4da7/32.png) [@Kevin\_Verschueren](https://forum.inductiveautomation.com/u/Kevin_Verschueren)\
**Post date:** [October 17, 2024, 9:05pm UTC](https://forum.inductiveautomation.com/t/perspective-popup-runtime-resize-behavior/57007/21 "2024-10-17T21:05:30Z")

</div>

Hi Tiago,

Thank you for the hint. Can you send screenshots of your setup where you added these styles? I'm not so good with these CSS and background connection and can not get it working.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [October 20, 2024, 9:21pm UTC](https://forum.inductiveautomation.com/t/perspective-popup-runtime-resize-behavior/57007/22 "2024-10-20T21:21:20Z")

</div>

You can add it into the advanced stylesheet. If it's not showing for you at the top of the Perspective\>Styles folder, right click on the Styles folder in the designer project browser and enable the stylesheet and it will appear.

---

<div class="post-metadata">

**Author:** ![Kenneth\_Wainwright](https://avatars.discourse-cdn.com/v4/letter/k/e99b99/32.png) [@Kenneth\_Wainwright](https://forum.inductiveautomation.com/u/Kenneth_Wainwright)\
**Post date:** [January 20, 2025, 5:16pm UTC](https://forum.inductiveautomation.com/t/perspective-popup-runtime-resize-behavior/57007/23 "2025-01-20T17:16:53Z")

</div>

Tiago, this is a great upgrade! Combined with the above I get

```python
div.ia_popup:has(.psc-popupSizeAuto) {
    width: auto !important;
    height: auto !important;
  }

```

I can now pick which popups have resize rather than it being a universal. We have popups with tabs that lead to different sized views; this allows me to make some of them auto resize but some of them still manually resizable. Thanks!

[Previous page](https://forum.inductiveautomation.com/t/perspective-popup-runtime-resize-behavior/57007.md?page=1)
