fix(core): update

This commit is contained in:
2023-10-26 17:39:02 +02:00
parent 5d655035d6
commit 855ce7c074
10 changed files with 603 additions and 456 deletions

View File

@@ -64,6 +64,9 @@ export class DePage extends DeesElement {
domtools.elementBasic.staticStyles,
css`
:host {
display: block;
max-height: ${shared.a4Height}px;
max-width: ${shared.a4Width}px;
}
#scaleWrapper {
@@ -177,7 +180,7 @@ export class DePage extends DeesElement {
// Adjust the outer dimensions so they match the scaled content
scaleWrapper.style.width = `${shared.a4Width * scale}px`;
scaleWrapper.style.height = `${shared.a4Height * scale}px`;
// this.style.width = `${shared.a4Width * scale}px`;
this.style.height = `${shared.a4Height * scale}px`;
}
}