From 419fef57597015c6625d38e086c1580fc35e638a Mon Sep 17 00:00:00 2001 From: Dolan Date: Fri, 19 Mar 2021 21:09:58 +0000 Subject: [PATCH] Fix demo --- demo/11-declaritive-styles-2.ts | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/demo/11-declaritive-styles-2.ts b/demo/11-declaritive-styles-2.ts index 11ed18fb69..3881e2f258 100644 --- a/demo/11-declaritive-styles-2.ts +++ b/demo/11-declaritive-styles-2.ts @@ -160,10 +160,14 @@ const doc = new Document({ sections: [ { properties: { - top: 700, - right: 700, - bottom: 700, - left: 700, + page: { + margin: { + top: 700, + right: 700, + bottom: 700, + left: 700, + }, + }, }, footers: { default: new Footer({