mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
Merge pull request #985 from daniel-j/fix-glyph-clipping
Fix glyph clipping in WebKit. Fixes #983
This commit is contained in:
commit
91f1e45d36
1 changed files with 4 additions and 0 deletions
|
@ -1041,6 +1041,10 @@ class Contents {
|
|||
|
||||
this.css(COLUMN_GAP, gap+"px");
|
||||
this.css(COLUMN_WIDTH, columnWidth+"px");
|
||||
|
||||
// Fix glyph clipping in WebKit
|
||||
// https://github.com/futurepress/epub.js/issues/983
|
||||
this.css("-webkit-line-box-contain", "block glyphs replaced");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue