fix(core): update
This commit is contained in:
@@ -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`;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user