From 7095e38947bdaf1767b8c4c39123c910846446d5 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Fri, 17 May 2019 23:10:10 +0200 Subject: [PATCH 1/3] fixed post card design --- webapp/components/Category/index.vue | 2 +- webapp/components/PostCard/index.vue | 70 ++++++++++++++------------- webapp/components/Ribbon/index.vue | 48 ++++++++++++++++++ webapp/components/User/index.vue | 2 +- webapp/pages/post/_id/_slug/index.vue | 24 --------- 5 files changed, 87 insertions(+), 59 deletions(-) create mode 100644 webapp/components/Ribbon/index.vue diff --git a/webapp/components/Category/index.vue b/webapp/components/Category/index.vue index af602d4d0..028d8c4a4 100644 --- a/webapp/components/Category/index.vue +++ b/webapp/components/Category/index.vue @@ -13,7 +13,7 @@ export default { name: 'HcCategory', props: { icon: { type: String, required: true }, - name: { type: String, required: true } + name: { type: String, default: '' } } } diff --git a/webapp/components/PostCard/index.vue b/webapp/components/PostCard/index.vue index acddba5d6..aeb761fe1 100644 --- a/webapp/components/PostCard/index.vue +++ b/webapp/components/PostCard/index.vue @@ -1,65 +1,64 @@