fix(document rendering): Fixed overflow issues in document and page elements

This commit is contained in:
2024-12-07 14:22:42 +01:00
parent 76d829f5c7
commit 2e3739e765
5 changed files with 34 additions and 4 deletions

View File

@@ -77,6 +77,7 @@ export class DePage extends DeesElement {
css`
:host {
display: block;
overflow: hidden;
}
#scaleWrapper {
@@ -211,7 +212,6 @@ export class DePage extends DeesElement {
// Adjust the outer dimensions so they match the scaled content
this.style.overflow = 'hidden';
this.style.width = `${plugins.shared.a4Width * scale}px`;
this.style.height = `${plugins.shared.a4Height * scale}px`;
}