I am running our demo files in Chrome ( Latest ), and this line is making the iframe grow to huge sizes. I believe this hard code makes the iframe grow, triggering the iframes resize event. This makes an infinite loop causing the the iframe to keep growing.

I removed this hardcoded padding, and it seems to be stable, although the iframe is a bit smaller than the content within it. The scroll bar does show up, which we would like to avoid. I have tried to calculate the padding per browser, but it wasn't stable across browsers. Have any ideas on how this could be better?