From 004827a7f17a0bc349baf1257aa5debe3c6f6060 Mon Sep 17 00:00:00 2001 From: kPherox Date: Mon, 18 Nov 2019 02:16:37 +0900 Subject: [PATCH] Change profile fields design to horizontal --- src/components/user_profile/user_profile.vue | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/src/components/user_profile/user_profile.vue b/src/components/user_profile/user_profile.vue index d5aa514e38..fdff0385fc 100644 --- a/src/components/user_profile/user_profile.vue +++ b/src/components/user_profile/user_profile.vue @@ -159,15 +159,31 @@ max-height: 400px; &.emoji { - width: 32px; - height: 32px; + width: 18px; + height: 18px; } } dl { + display: flex; margin: 1em 1.5em; + dt { + flex: 0 0 auto; + font-weight: 500; + color: var(--lightText); + width: 30%; + min-width: 120px; + } + + dd { + flex: 1 1 auto; + color: var(--text); + margin-left: 10px; + } + dt, dd { + line-height: 18px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden;