We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14b8098 commit 21505eeCopy full SHA for 21505ee
src/Grid.vue
@@ -97,7 +97,7 @@ export default {
97
},
98
99
height () {
100
- return Math.ceil(this.items.length / this.rowCount) *
+ return Math.ceil(this.list.length / this.rowCount) *
101
this.cellHeight
102
103
@@ -113,7 +113,7 @@ export default {
113
114
rowShift () {
115
if (this.center) {
116
- let contentWidth = this.items.length * this.cellWidth
+ let contentWidth = this.list.length * this.cellWidth
117
let rowShift = contentWidth < this.gridResponsiveWidth
118
? (this.gridResponsiveWidth - contentWidth) / 2
119
: (this.gridResponsiveWidth % this.cellWidth) / 2
0 commit comments