Custom modal - both height and width can be changed. The minimum height is 120px and the minimum width is 320px . The maximum height and width are limited to the user’s browser dimensions.
Currently, I’m resizing the modal using the following code snippet:
const sdk = await new AppExtensionsSDK().initialize({ size: { height: 700, width: 800 } });
However, a drawback of this approach is that the modal’s size may not adequately fill larger screens, leading to a small display, or conversely, occupy only a portion of smaller screens.
Is there a way to set the width/heigth to - lets say 80% of the screen?
Thanks