Closed bstrebel closed 7 years ago
@bstrebel is this a proposal to fix #7 ?
@Oitzu The requirements of #7 are partly addressed. My PR allows percentage values in the width specification only. I think it doesn't make much sense for the mobile-frontend to specify the height of the iframe as an relative value. I've done only minor changes to your code and it works well on my devices.
A configuration of
leads to
and
I'm happy with this, but as already mentioned, I'm not experienced in frontend development and someone should review the code changes.
Would be great if the patch is ok for you and can be committed to the master. Existing configurations should be not affected.
@bstrebel thanks for the informations it's very appreciated. The best persons to review the change are probably @mwittig or @thost96 .
@mwittig , @Oitzu : Any chance to get the PR merged? Thanks, Bernd
@bstrebel i would love to, but i'm also not really up to date on this topic. I will take a look at the weekend and try to evaluate it myself.
I am happy to look into this. I also wanted to review again another pull request we had earlier and possibly combine both to a working solution.
I wonder if there are plans to merge this PR, is this still under review?
Actually, I had reviewed and tested the the PR a while ago, but forgot to report here. I think the PR is good to go. @Oitzu could you please merge it or grant me for co-maintainership in case you're too busy. Thanks
@mwittig I have limited access to my computer till the weekend. Granted you collaborator to not delay this. ;)
Awesome, thanks a lot!
Thanks for the original commit and superswift merge today!
I updated to pimatic-iframe version 0.3.0 via the webinterface, and the layout scales perfectly now as seen on the screenshots above. Huzzah! Tested with Firefox 55.0.2.
Thanks to all for reanimating and merging the patch!
Allow px or % in iframe width specification. Simple and straight forward. Works for me and a value of 99.5% gives an iframe that fits very well in the pimatic layout. Should be reviewed by someone more experienced in frontend development.