fix(profile): better username/UUID styling

This commit is contained in:
Sabe Jones
2018-10-25 05:29:02 -05:00
parent a9e2a17077
commit 6e7e81206a

View File

@@ -43,9 +43,9 @@ div
.header.mb-3 .header.mb-3
h1 {{user.profile.name}} h1 {{user.profile.name}}
div div
strong(v-if='user.auth && user.auth.local && user.auth.local.username') @{{ user.auth.local.username }} .name(v-if='user.auth && user.auth.local && user.auth.local.username') @{{ user.auth.local.username }}
div div
strong(v-if='this.userLoggedIn.contributor.admin') {{ user._id }} .name(v-if='this.userLoggedIn.contributor.admin') {{ user._id }}
.col-12.col-md-4 .col-12.col-md-4
button.btn.btn-secondary(v-if='user._id === userLoggedIn._id', @click='editing = !editing') {{ $t('edit') }} button.btn.btn-secondary(v-if='user._id === userLoggedIn._id', @click='editing = !editing') {{ $t('edit') }}
.row(v-if='!editing') .row(v-if='!editing')
@@ -243,6 +243,11 @@ div
cursor: pointer; cursor: pointer;
} }
.name {
color: $gray-200;
font-size: 16px;
}
#achievements { #achievements {
.box { .box {
margin: 0 auto; margin: 0 auto;