From e4908ed64052b85aeef052a4ee366e3c4eefaf63 Mon Sep 17 00:00:00 2001 From: Matt Rider Date: Mon, 15 Apr 2019 19:33:27 -0300 Subject: [PATCH] Add component for Notifications' posts, style --- webapp/components/PostCard.vue | 1 + .../components/notifications/Notification.vue | 8 +- .../notifications/NotificationMenu.vue | 4 + .../notifications/NotificationPostCard.vue | 84 +++++++++++++++++++ 4 files changed, 94 insertions(+), 3 deletions(-) create mode 100644 webapp/components/notifications/NotificationPostCard.vue diff --git a/webapp/components/PostCard.vue b/webapp/components/PostCard.vue index 83b800031..58283dda3 100644 --- a/webapp/components/PostCard.vue +++ b/webapp/components/PostCard.vue @@ -131,6 +131,7 @@ export default { } .post-link { + margin: 15px; display: block; position: absolute; top: 0; diff --git a/webapp/components/notifications/Notification.vue b/webapp/components/notifications/Notification.vue index 8f6db439e..ecf696d75 100644 --- a/webapp/components/notifications/Notification.vue +++ b/webapp/components/notifications/Notification.vue @@ -3,17 +3,19 @@ :to="{ name: 'post-id-slug', params: { id: post.id, slug: post.slug } }" @click.native="$emit('read')" > - + + + + +