Azure / api-management-developer-portal

Developer portal provided by the Azure API Management service.
MIT License
487 stars 310 forks source link

Custom HTML widget size #2218

Open xmasctf opened 1 year ago

xmasctf commented 1 year ago

Hi everyone.

I'm trying to embed my website using this custom HTML code:

<!DOCTYPE html>
<html>
    <body>
        <iframe
            height="100%"
            frameBorder="0"
            src="https://test.com">
        </iframe>
    </body>
</html>

This results in my iframe being placed in another iframe, and is working without any issues. The problem I am having is that the height of my website is currently ~4.500px, and could change when I'll be adding/removing some content. Is there an option to make Custom HTML widget to match with the size of the content? I don't want to hard-code it, and worry about modifying it each time my main website is updated.

Thanks for the help!

ghost commented 1 year ago

@xmasctf, thank you for opening this issue. We will triage it within the next few business days.