mirror of
https://github.com/john-okeefe/foliate-js.git
synced 2026-09-09 11:29:14 -04:00
Fix scrolled layout when using * { box-sizing: border-box }
This commit is contained in:
@@ -161,6 +161,7 @@ class View {
|
||||
this.#iframe.classList.add('filter')
|
||||
this.#element.append(this.#iframe)
|
||||
Object.assign(this.#element.style, {
|
||||
boxSizing: 'content-box',
|
||||
position: 'relative',
|
||||
overflow: 'hidden',
|
||||
flex: '0 0 auto',
|
||||
|
||||
Reference in New Issue
Block a user