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:
parent
f314d06387
commit
48b564ee31
6 changed files with 45 additions and 25 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue