mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
Some books specify max-width style on body, which breaks pagination columns.
This commit is contained in:
parent
20f0f4e97d
commit
41802b3f73
1 changed files with 1 additions and 0 deletions
|
@ -600,6 +600,7 @@ Contents.prototype.columns = function(width, height, columnWidth, gap){
|
||||||
this.css("overflowY", "hidden");
|
this.css("overflowY", "hidden");
|
||||||
this.css("margin", "0");
|
this.css("margin", "0");
|
||||||
this.css("boxSizing", "border-box");
|
this.css("boxSizing", "border-box");
|
||||||
|
this.css("maxWidth", "inherit");
|
||||||
|
|
||||||
this.css(COLUMN_AXIS, "horizontal");
|
this.css(COLUMN_AXIS, "horizontal");
|
||||||
this.css(COLUMN_FILL, "auto");
|
this.css(COLUMN_FILL, "auto");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue