From 27c23fa9ac7a7131b8f881b987cd5d41c1e309b3 Mon Sep 17 00:00:00 2001 From: mattwr18 Date: Thu, 9 Jan 2020 11:27:54 +0100 Subject: [PATCH] Improve styling of User.vue - Remove avatar class - fix competing styles - follow rscss guidlines --- webapp/components/PostCard/PostCard.vue | 6 ++- webapp/components/User/User.vue | 49 ++++++++++++------------- 2 files changed, 28 insertions(+), 27 deletions(-) diff --git a/webapp/components/PostCard/PostCard.vue b/webapp/components/PostCard/PostCard.vue index d54a86367..821b40216 100644 --- a/webapp/components/PostCard/PostCard.vue +++ b/webapp/components/PostCard/PostCard.vue @@ -27,7 +27,7 @@ - {{ post.title }} + {{ post.title }} @@ -186,6 +186,10 @@ export default { height: 75px; } + .post-title { + margin-top: $space-large; + } + /* workaround to avoid jumping layout when hc-user is rendered */ .user-wrapper { height: 36px; diff --git a/webapp/components/User/User.vue b/webapp/components/User/User.vue index e366cd6c5..bf8913b54 100644 --- a/webapp/components/User/User.vue +++ b/webapp/components/User/User.vue @@ -1,6 +1,6 @@