gitenberg-dev / giten_site

django repo for running the GITenberg website
http://www.gitenberg.org
40 stars 5 forks source link

Fix iframe sizing on Updates page #73

Closed bdr99 closed 6 years ago

bdr99 commented 6 years ago

This is a redo of https://github.com/gitenberg-dev/giten_site/pull/56. The iframes on the updates page would sometimes be set to the wrong size if the content size changes after the resizeIframe function runs. To solve this problem, we added a delay before the iframe is resized. We also added an initial height for the iframes, so that the user does not see the default size during the delay.

eshellman commented 6 years ago

deployed to production