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

Fixes for vertical mode, svg image column adjustments

This commit is contained in:
Fred Chasen 2017-11-21 12:15:04 -08:00
parent 671ed35f34
commit f1fda8a311
4 changed files with 18 additions and 2 deletions

View file

@ -975,7 +975,10 @@ class Contents {
// Deal with Mobile trying to scale to viewport
this.viewport({ width: width, height: height, scale: 1.0, scalable: "no" });
this.css("display", "inline-block"); // Fixes Safari column cut offs
// TODO: inline-block needs more testing
// Fixes Safari column cut offs, but causes RTL issues
// this.css("display", "inline-block");
this.css("overflow-y", "hidden");
this.css("margin", "0", true);