@contrail/document-generation
Advanced tools
Comparing version 2.0.59 to 2.0.60
@@ -52,2 +52,3 @@ "use strict"; | ||
componentPosition.x = rowStartX; | ||
componentPosition.y += Math.min(componentSize.height, maxComponentHeight) + componentPadding * 2; | ||
for (let col = 0; col < gridTemplate.gridDimensions.cols; col++) { | ||
@@ -64,3 +65,2 @@ if (dataIndex >= data.length) { | ||
componentPosition.x += componentSize.width + componentPadding * 2; | ||
componentPosition.y += Math.min(componentSize.height, maxComponentHeight) + componentPadding * 2; | ||
} | ||
@@ -67,0 +67,0 @@ } |
{ | ||
"name": "@contrail/document-generation", | ||
"version": "2.0.59", | ||
"version": "2.0.60", | ||
"description": "Utilities for automatic generation of documents.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
1107508