aboutsummaryrefslogtreecommitdiff
path: root/src/site/components/grid/waterfall/Waterfall.vue
diff options
context:
space:
mode:
authorZephyrrus <[email protected]>2020-07-04 23:18:51 +0300
committerZephyrrus <[email protected]>2020-07-04 23:18:51 +0300
commit1e1f3fbb27976a34f53a4e8d250da34dad4e6c20 (patch)
tree4c2df144de7db279b752417e60dddecbb4bfc328 /src/site/components/grid/waterfall/Waterfall.vue
parentfix: fix axios plugin throwing if no message from backend (diff)
downloadhost.fuwn.me-1e1f3fbb27976a34f53a4e8d250da34dad4e6c20.tar.xz
host.fuwn.me-1e1f3fbb27976a34f53a4e8d250da34dad4e6c20.zip
feat: experimental videos in grid
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);