FXL: fix overflowing

Which for some reason only happens in Firefox
This commit is contained in:
John Factotum authored and GitHub committed 2022-10-21 10:39:55 +00:00
1 parent 9250f47058
commit e74ad4311f
1 file changed
+1
+1
View File
@@ -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) {