diff options
Diffstat (limited to 'src/components/user_card/user_card.vue')
| -rw-r--r-- | src/components/user_card/user_card.vue | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/src/components/user_card/user_card.vue b/src/components/user_card/user_card.vue index 9e142480..3c0bf0d4 100644 --- a/src/components/user_card/user_card.vue +++ b/src/components/user_card/user_card.vue @@ -7,7 +7,20 @@ <div class="panel-heading"> <div class="user-info"> <div class="container"> - <router-link :to="userProfileLink(user)"> + <a + v-if="isActiveRoute" + class="user-info-avatar-link" + @click="enlargeAvatar" + > + <UserAvatar + :better-shadow="betterShadow" + :user="user" + /> + </a> + <router-link + v-else + :to="userProfileLink(user)" + > <UserAvatar :better-shadow="betterShadow" :user="user" @@ -372,6 +385,10 @@ } } + &-avatar-link { + cursor: pointer; + } + .usersettings { color: $fallback--lightText; color: var(--lightText, $fallback--lightText); |
