Fix scrolled layout when using * { box-sizing: border-box }

This commit is contained in:
John Factotum
2023-03-27 00:32:41 +08:00
parent db5fc0f679
commit ca8846b256
+1
View File
@@ -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',