FXL: fix overflowing

Which for some reason only happens in Firefox
This commit is contained in:
John Factotum
2022-10-21 10:39:55 +00:00
committed by GitHub
parent 9250f47058
commit e74ad4311f
+1
View File
@@ -114,6 +114,7 @@ class Container {
Object.assign(element.style, { Object.assign(element.style, {
width: `${(width ?? blankWidth) * scale}px`, width: `${(width ?? blankWidth) * scale}px`,
height: `${(height ?? blankHeight) * scale}px`, height: `${(height ?? blankHeight) * scale}px`,
overflow: 'hidden',
display: 'block', display: 'block',
}) })
if (portrait && frame !== target) { if (portrait && frame !== target) {