mirror of
https://github.com/john-okeefe/foliate-js.git
synced 2026-09-09 11:29:14 -04:00
Fix glyph clipping in WebKit
See https://github.com/johnfactotum/foliate/issues/177
This commit is contained in:
@@ -236,6 +236,8 @@ class View {
|
||||
position: 'static', border: '0', margin: '0',
|
||||
maxHeight: 'none', maxWidth: 'none',
|
||||
minHeight: 'none', minWidth: 'none',
|
||||
// fix glyph clipping in WebKit
|
||||
webkitLineBoxContain: 'block glyphs replaced',
|
||||
})
|
||||
Object.assign(doc.body.style, {
|
||||
maxHeight: 'none',
|
||||
|
||||
Reference in New Issue
Block a user