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:
parent
5269cfc4f8
commit
ab4638b10a
1 changed files with 2 additions and 2 deletions
|
@ -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"]
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue