@design.estate/dees-document 1.6.5 → 1.6.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@design.estate/dees-document",
3
- "version": "1.6.5",
3
+ "version": "1.6.6",
4
4
  "private": false,
5
5
  "description": "A sophisticated framework for dynamically generating and rendering business documents like invoices with modern web technologies, featuring PDF creation, templating, and automation.",
6
6
  "main": "dist_ts_web/index.js",
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@design.estate/dees-document',
6
- version: '1.6.5',
6
+ version: '1.6.6',
7
7
  description: 'A sophisticated framework for dynamically generating and rendering business documents like invoices with modern web technologies, featuring PDF creation, templating, and automation.'
8
8
  }
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@design.estate/dees-document',
6
- version: '1.6.5',
6
+ version: '1.6.6',
7
7
  description: 'A sophisticated framework for dynamically generating and rendering business documents like invoices with modern web technologies, featuring PDF creation, templating, and automation.'
8
8
  }
@@ -77,7 +77,6 @@ export class DePage extends DeesElement {
77
77
  css`
78
78
  :host {
79
79
  display: block;
80
- font-family: inherit;
81
80
  }
82
81
 
83
82
  #scaleWrapper {
@@ -212,7 +211,8 @@ export class DePage extends DeesElement {
212
211
 
213
212
  // Adjust the outer dimensions so they match the scaled content
214
213
 
215
- // this.style.width = `${shared.a4Width * scale}px`;
214
+ this.style.overflow = 'hidden';
215
+ this.style.width = `${plugins.shared.a4Width * scale}px`;
216
216
  this.style.height = `${plugins.shared.a4Height * scale}px`;
217
217
  }
218
218
  }