mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
Fix glyph clipping in WebKit. Fixes #983
This commit is contained in:
parent
d9c2559b21
commit
5edf4c3bf6
1 changed files with 4 additions and 0 deletions
|
@ -1044,6 +1044,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