Dynamic Container for Iframe

I have an iframe that has a dynamic height. Basically it loads content from an API and displays jobs. When you click on the job, you get more info to it. I want to make a container arround that Iframe that is always like 20px wider and higher than the iframe itself. Is it possible to set the height of the container surrounding the iframe dynamically? I tried it with the basic wix version, but that did not work. Thanks for reading!

maybe Calculation would work for you?

https://www.editorxcommunity.com/forum/releases-and-announcements/new-feature-alert-calculation-for-size-units

https://support.wix.com/en/article/editor-x-setting-the-size-of-your-element#using-calculation-to-determine-the-size-of-your-elements