mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-03 14:59:18 +02:00
Fixes for vertical mode, svg image column adjustments
This commit is contained in:
parent
671ed35f34
commit
f1fda8a311
4 changed files with 18 additions and 2 deletions
|
@ -926,6 +926,11 @@ class Rendition {
|
|||
"max-height": (this._layout.height ? (this._layout.height * 0.6) + "px" : "60%") + "!important",
|
||||
"object-fit": "contain",
|
||||
"page-break-inside": "avoid"
|
||||
},
|
||||
"svg" : {
|
||||
"max-width": (this._layout.columnWidth ? this._layout.columnWidth + "px" : "100%") + "!important",
|
||||
"max-height": (this._layout.height ? (this._layout.height * 0.6) + "px" : "60%") + "!important",
|
||||
"page-break-inside": "avoid"
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue