1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-02 14:49:16 +02:00

fix css rule

This commit is contained in:
iMefisto 2017-02-15 08:03:44 -03:00
parent 5269cfc4f8
commit ab4638b10a

View file

@ -598,8 +598,8 @@ class Rendition {
contents.addStylesheetRules([
["img",
["max-width", (this._layout.columnWidth) + "px; !important"],
["max-height", (this._layout.height) + "px; !important"],
["max-width", (this._layout.columnWidth) + "px !important"],
["max-height", (this._layout.height) + "px !important"],
["object-fit", "contain"],
["page-break-inside", "avoid"]
]