1
0
Fork 0
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:
Fred Chasen 2017-02-24 19:35:13 -05:00
parent 4fe564f03e
commit f17b7c7443
2 changed files with 2 additions and 2 deletions

View file

@ -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"
}