Skip to content
Snippets Groups Projects
Verified Commit 87940ead authored by kPherox's avatar kPherox
Browse files

Change css selectors to classname from elementname

parent 004827a7
No related branches found
No related tags found
2 merge requests!12172.1.0 into master,!1004Display profile fields
This commit is part of merge request !1004. Comments created here will be created in the context of that merge request.
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment