diff options
| author | kPherox <admin@mail.kr-kp.com> | 2019-11-20 18:59:37 +0900 |
|---|---|---|
| committer | kPherox <admin@mail.kr-kp.com> | 2019-11-20 18:59:37 +0900 |
| commit | 87940ead8a9bedd312f10635462933a02e0ffb1c (patch) | |
| tree | 92bf7a1f0768598405c77fbb03ba780e7b1b44e6 /src/components/user_profile | |
| parent | 004827a7f17a0bc349baf1257aa5debe3c6f6060 (diff) | |
Change css selectors to classname from elementname
Diffstat (limited to 'src/components/user_profile')
| -rw-r--r-- | src/components/user_profile/user_profile.vue | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/components/user_profile/user_profile.vue b/src/components/user_profile/user_profile.vue index fdff0385..c1337411 100644 --- a/src/components/user_profile/user_profile.vue +++ b/src/components/user_profile/user_profile.vue @@ -18,6 +18,7 @@ <dl v-for="(field, index) in user.fields_html" :key="index" + class="user-profile-field" > <!-- eslint-disable vue/no-v-html --> <dt @@ -164,11 +165,11 @@ } } - dl { + .user-profile-field { display: flex; margin: 1em 1.5em; - dt { + .user-profile-field-name { flex: 0 0 auto; font-weight: 500; color: var(--lightText); @@ -176,13 +177,13 @@ min-width: 120px; } - dd { + .user-profile-field-value { flex: 1 1 auto; color: var(--text); margin-left: 10px; } - dt, dd { + .user-profile-field-name, .user-profile-field-value { line-height: 18px; text-overflow: ellipsis; white-space: nowrap; |
