mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-03 14:59:18 +02:00
Fix adjustImages max-height
This commit is contained in:
parent
4fe564f03e
commit
f17b7c7443
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "epubjs",
|
||||
"version": "0.3.13",
|
||||
"version": "0.3.14",
|
||||
"description": "Parse and Render Epubs",
|
||||
"main": "lib/index.js",
|
||||
"jsnext:main": "src/index.js",
|
||||
|
|
|
@ -605,7 +605,7 @@ class Rendition {
|
|||
contents.addStylesheetRules({
|
||||
"img" : {
|
||||
"max-width": (this._layout.columnWidth) + "px !important",
|
||||
"max-width": (this._layout.columnWidth) + "px !important",
|
||||
"max-height": (this._layout.height) + "px !important",
|
||||
"object-fit": "contain",
|
||||
"page-break-inside": "avoid"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue