HTML Component adaptative height

Hello,

I’m using an HTML component to display some content of one of my other website. The user is able to navigate the pages of the website. My issue is that not all the pages have the same height/length so when the user goes to a page that’s bigger than the HTML component on wix, the scrollbar appears to allow to see the rest of the page. There is then two scrollbars (one from my wix site and one from the site that is embedded through the component) which is a big problem for the user experience.

So far the only solution I have is to make the html component way bigger on wix but what happens is that for the smaller pages it leaves a lot of white space under this component and it’s also not a long term solution since the pages might get even longer.

Is there a way this HTML Component height could adapt to the height of the page it’s displaying ?

Thank you for your help