mirror of
https://github.com/john-okeefe/foliate-js.git
synced 2026-09-09 11:29:14 -04:00
Fix misaligned columns in some situations
This commit is contained in:
+1
-1
@@ -300,7 +300,7 @@ class View {
|
||||
this.#iframe.style[otherSide] = '100%'
|
||||
this.#element.style[otherSide] = '100%'
|
||||
if (this.document)
|
||||
this.document.documentElement.style[side] = `${expandedSize}px`
|
||||
this.document.documentElement.style[side] = `${this.#size}px`
|
||||
if (this.#overlayer) {
|
||||
this.#overlayer.element.style.margin = '0'
|
||||
this.#overlayer.element.style[side] = `${expandedSize}px`
|
||||
|
||||
Reference in New Issue
Block a user