diff options
| author | kPherox <admin@mail.kr-kp.com> | 2019-11-18 02:16:37 +0900 |
|---|---|---|
| committer | kPherox <admin@mail.kr-kp.com> | 2019-11-20 00:19:47 +0900 |
| commit | 004827a7f17a0bc349baf1257aa5debe3c6f6060 (patch) | |
| tree | 38aa75ad8011dc1ab7ed260a0cf3ecd070c9befc /src/components/user_profile/user_profile.vue | |
| parent | 2bc549a66a0e189698e38c029cf8d0bfb19d0351 (diff) | |
Change profile fields design to horizontal
Diffstat (limited to 'src/components/user_profile/user_profile.vue')
| -rw-r--r-- | src/components/user_profile/user_profile.vue | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/src/components/user_profile/user_profile.vue b/src/components/user_profile/user_profile.vue index d5aa514e..fdff0385 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; |
