aboutsummaryrefslogtreecommitdiff
path: root/src/site/components/grid/waterfall/Waterfall.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/site/components/grid/waterfall/Waterfall.vue')
-rw-r--r--src/site/components/grid/waterfall/Waterfall.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/site/components/grid/waterfall/Waterfall.vue b/src/site/components/grid/waterfall/Waterfall.vue
index 8631ea5..af1bd72 100644
--- a/src/site/components/grid/waterfall/Waterfall.vue
+++ b/src/site/components/grid/waterfall/Waterfall.vue
@@ -170,7 +170,7 @@ export default {
return;
}
child.el.style.top = `${offsetArr[position]}px`;
- offsetArr[position] += (child.height + this.gutterHeight);
+ offsetArr[position] += child.height + this.gutterHeight;
this.$el.style.height = `${Math.max.apply(Math, offsetArr)}px`;
});
this.$emit('rendered', this);