From e74ad4311f86d8f1062c59eb7d158dcb3c24b06b Mon Sep 17 00:00:00 2001 From: John Factotum <50942278+johnfactotum@users.noreply.github.com> Date: Fri, 21 Oct 2022 10:39:55 +0000 Subject: [PATCH] FXL: fix overflowing Which for some reason only happens in Firefox --- fixed-layout.js | 1 + 1 file changed, 1 insertion(+) diff --git a/fixed-layout.js b/fixed-layout.js index e2f74bc..d3b5bf8 100644 --- a/fixed-layout.js +++ b/fixed-layout.js @@ -114,6 +114,7 @@ class Container { Object.assign(element.style, { width: `${(width ?? blankWidth) * scale}px`, height: `${(height ?? blankHeight) * scale}px`, + overflow: 'hidden', display: 'block', }) if (portrait && frame !== target) {