Is there a way to dynamically size the plugin window based on browser window?
Looking for a height and width to plug into
figma.showUI(___html___, {height, width})
Methods tried:
- document.documentElement.clientWidth (document is not defined)
- parent.document.body.clientWidth (parent is not defined)
- window.outerWidth (window is not defined)
- figma.viewport dimensions do not correspond to browser window dimensions.