diff --git a/src/system/components/layout/Grid/Grid.vue b/src/system/components/layout/Grid/Grid.vue index 4809221d5..bc12b116d 100644 --- a/src/system/components/layout/Grid/Grid.vue +++ b/src/system/components/layout/Grid/Grid.vue @@ -31,14 +31,17 @@ export default { }, computed: { styles() { - return ({ + return { gridTemplateColumns: `repeat(auto-fill, minmax(${this.minColumnWidth}px, 1fr`, gridGap: `${this.gap}px`, gridAutoRows: `${this.rowHeight}px`, - }) + } } - } + }, } - + + diff --git a/src/system/components/layout/Grid/GridItem.vue b/src/system/components/layout/Grid/GridItem.vue index 1f3989e36..857ed1238 100644 --- a/src/system/components/layout/Grid/GridItem.vue +++ b/src/system/components/layout/Grid/GridItem.vue @@ -1,13 +1,37 @@ - -