1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-05 15:32:55 +02:00

Update stage to use clientWidth and height, overflow scroll adjusts only a single axis

This commit is contained in:
Fred Chasen 2018-12-07 12:23:59 -08:00
parent f314d06387
commit 48b564ee31
6 changed files with 45 additions and 25 deletions

View file

@ -46,14 +46,9 @@ body {
margin: 0 auto;
position: relative;
background: url('ajax-loader.gif') center center no-repeat;
}
#viewer.scrolled .epub-container {
background: white;
box-shadow: 0 0 4px #ccc;
margin: 10px;
padding: 20px;
background: white;
}
#viewer.scrolled .epub-view > iframe {