From 2596f228140c693aaecd192b0d10254250fc4bcd Mon Sep 17 00:00:00 2001 From: scarlett Date: Tue, 21 Aug 2018 19:16:03 +0100 Subject: [PATCH] Centre-align profile bios. --- src/components/user_card_content/user_card_content.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/components/user_card_content/user_card_content.vue b/src/components/user_card_content/user_card_content.vue index 71222d15..59358040 100644 --- a/src/components/user_card_content/user_card_content.vue +++ b/src/components/user_card_content/user_card_content.vue @@ -105,8 +105,8 @@ {{user.followers_count}} -

-

{{ user.description }}

+

+

{{ user.description }}

@@ -130,7 +130,11 @@ .profile-panel-body { word-wrap: break-word; background: linear-gradient(to bottom, rgba(0, 0, 0, 0), $fallback--bg 80%); - background: linear-gradient(to bottom, rgba(0, 0, 0, 0), var(--bg, $fallback--bg) 80%) + background: linear-gradient(to bottom, rgba(0, 0, 0, 0), var(--bg, $fallback--bg) 80%); + + .profile-bio { + text-align: center; + } } .user-info {