access dom in iframe height code example
Example: set iframe height and width by js
#IFRAME_ID {
width: 100%!important;
height: 100%!important;
}
#####################
If still not working you can try solution from on the solutions from the link
https://stackoverflow.com/questions/819416/adjust-width-and-height-of-iframe-to-fit-with-content-in-it