mirror of
https://github.com/john-okeefe/foliate-js.git
synced 2026-10-24 22:59:51 -04:00
Fix scrolled layout when using * { box-sizing: border-box }
This commit is contained in:
1 parent
db5fc0f679
commit
ca8846b256
1 file changed
+1
@@ -161,6 +161,7 @@ class View {
|
|||||||
this.#iframe.classList.add('filter')
|
this.#iframe.classList.add('filter')
|
||||||
this.#element.append(this.#iframe)
|
this.#element.append(this.#iframe)
|
||||||
Object.assign(this.#element.style, {
|
Object.assign(this.#element.style, {
|
||||||
|
boxSizing: 'content-box',
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
overflow: 'hidden',
|
overflow: 'hidden',
|
||||||
flex: '0 0 auto',
|
flex: '0 0 auto',
|
||||||
|
|||||||
Reference in new issue
Block a user