# Dynamic Size for popup

**URL:** <https://forum.inductiveautomation.com/t/dynamic-size-for-popup/112787>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [December 12, 2025, 2:36pm UTC](https://forum.inductiveautomation.com/t/dynamic-size-for-popup/112787 "2025-12-12T14:36:15Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [December 12, 2025, 3:45pm UTC](https://forum.inductiveautomation.com/t/dynamic-size-for-popup/112787/4 "2025-12-12T15:45:04Z")

</div>

> [@Nol](#):
>
> You could link this to the screen size if you wanted to.

The issue here is if the screen size changes, like if the phone goes from portrait to landscape, fixing the width won’t auto adjust the popup size. I’ve suggest before that you can set the min and max width props of the popup that seemed to work, although there were some potentially weird things I found later that i hadn’t ironed out..

> [@Popup view in mobile phone](https://forum.inductiveautomation.com/t/popup-view-in-mobile-phone/112550/2):
>
> Adding this to the stylesheet this seems to work. You’ll need to play with it and check it more thoroughly than I have and see if it break anything… .popup-body \> .view { min-width: 0vw !important; max-width: 95vw !important; } you’ll need to do something similar for the height

---

_[View the full topic](https://forum.inductiveautomation.com/t/dynamic-size-for-popup/112787)._
