Most well-made sites nowadays are made to be responsive, handilng any screen size imageinable by resizing and sometimes restructuring page elements. An iframe, however is difficult to fit into this behavior, especially when it points to another domain (like the populi forms). The result is that, without some sort of javascript communication portal on the populi form, the only way to keep our pages fluid when they contain the form is to allow the iframe to have scroll bars which looks chintzy in my opinion.
The solution is to include a simple script that web developers could tap into in order to get size information from the embedded form, which would allow us to keep the form responsive.
This project accomplishes that. The script that would sit on the populi side is small and uses only native javascript, so it has no dependencies. The other script goes on the host side, with simple usage, laid out in the readme on the projects github page.
Another solution would be to allow us a space in the populi admin area (like the custom css spot) to put in custom javascript. That would be more flexible, allowing us to choose what type of solution to implement, but would also open up the doors a little more to malicious javascript (not that we would sabotage our own sites...).