Set a default height in the reader iframe to support non-javascript view
* Closes: #10
This commit is contained in:
parent
97dd6934b4
commit
b0e3659956
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ function resizeIframe() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</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>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Reference in a new issue