diff --git a/src/main-api/Inspector.ts b/src/main-api/Inspector.ts index d379d08b..f7c89726 100644 --- a/src/main-api/Inspector.ts +++ b/src/main-api/Inspector.ts @@ -100,14 +100,14 @@ const stylePropertyMap: { y: (y) => { return { prop: 'top', value: `${y}px` }; }, - width: (w) => { + w: (w) => { if (w === 0) { return null; } return { prop: 'width', value: `${w}px` }; }, - height: (h) => { + h: (h) => { if (h === 0) { return null; }