From d1beed50d7d38097a2cba6948e9b8378d20ea107 Mon Sep 17 00:00:00 2001 From: Alina Beck Date: Wed, 4 Sep 2019 16:51:08 +0100 Subject: [PATCH] use masonry grid for related posts --- webapp/pages/post/_id/_slug/more-info.vue | 25 +++++++++++++---------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/webapp/pages/post/_id/_slug/more-info.vue b/webapp/pages/post/_id/_slug/more-info.vue index b05312a0a5..654d4e65ff 100644 --- a/webapp/pages/post/_id/_slug/more-info.vue +++ b/webapp/pages/post/_id/_slug/more-info.vue @@ -33,19 +33,18 @@

{{ $t('post.moreInfo.titleOfRelatedContributionsSection') }}

- - - - + + + + + + - @@ -53,6 +52,8 @@ import HcPostCard from '~/components/PostCard' import HcEmpty from '~/components/Empty.vue' import { relatedContributions } from '~/graphql/PostQuery' +import MasonryGrid from '~/components/MasonryGrid/MasonryGrid.vue' +import MasonryGridItem from '~/components/MasonryGrid/MasonryGridItem.vue' export default { transition: { @@ -62,6 +63,8 @@ export default { components: { HcPostCard, HcEmpty, + MasonryGrid, + MasonryGridItem, }, computed: { post() {