Answers iFrame formatting

My client has a widget integrated on the CTAs of their search experience. In our staging environment, the widget pops up correctly when a CTA is clicked. However when the answers-embed link is iFramed on their search results page, the widget oddly appears in the center of the iFrame rather than in the center of the user’s screen.

As a workaround, my client would like to limit the height of the iFrame and enable scrolling (even if it creates a scroll within a scroll experience).

What is the correct way to control those attributes? Is it within the Search Code Editor or is it within the code the client drops into their search results page?