Set a default height in the reader iframe to support non-javascript view

* Closes: #10
This commit is contained in:
Las Zenow 2016-01-28 17:42:00 -05:00
parent 97dd6934b4
commit b0e3659956

View file

@ -44,7 +44,7 @@ function resizeIframe() {
}
}
</script>
<iframe id="bookContent" onload="resizeIframe();" style="width: 100%; height: 100%'; border: 0;" scrolling="no" src="{{.Content}}" seamless="seamless" sandbox="allow-same-origin" frameborder=0></iframe>
<iframe id="bookContent" onload="resizeIframe();" style="width: 100%; height: 1080px; border: 0;" scrolling="auto" src="{{.Content}}" seamless="seamless" sandbox="allow-same-origin" frameborder=0></iframe>
</div>
</div>