fix(page-render): Fix layout scaling adjustment for page component
This commit is contained in:
@ -77,7 +77,6 @@ export class DePage extends DeesElement {
|
||||
css`
|
||||
:host {
|
||||
display: block;
|
||||
font-family: inherit;
|
||||
}
|
||||
|
||||
#scaleWrapper {
|
||||
@ -212,7 +211,8 @@ export class DePage extends DeesElement {
|
||||
|
||||
// Adjust the outer dimensions so they match the scaled content
|
||||
|
||||
// this.style.width = `${shared.a4Width * scale}px`;
|
||||
this.style.overflow = 'hidden';
|
||||
this.style.width = `${plugins.shared.a4Width * scale}px`;
|
||||
this.style.height = `${plugins.shared.a4Height * scale}px`;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user