aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_card/user_card.vue
diff options
context:
space:
mode:
authorshpuld <shp@cock.li>2018-12-20 22:20:04 +0200
committershpuld <shp@cock.li>2018-12-20 22:20:04 +0200
commit67263cde05cacd6bf2a8941cce4c562ef88977e4 (patch)
treee2c16bcb643d6286752672ec92db73be7e86bb21 /src/components/user_card/user_card.vue
parent640a28789222035f8d500b8dd4bfc4c9f0cdd1af (diff)
parent562c68a51c9746650fabfc5c641816396439c791 (diff)
works but hacky
Diffstat (limited to 'src/components/user_card/user_card.vue')
-rw-r--r--src/components/user_card/user_card.vue10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/components/user_card/user_card.vue b/src/components/user_card/user_card.vue
index 0f163e36..cf69606d 100644
--- a/src/components/user_card/user_card.vue
+++ b/src/components/user_card/user_card.vue
@@ -1,7 +1,7 @@
<template>
<div class="card">
<a href="#">
- <img @click.prevent="toggleUserExpanded" class="avatar" :src="user.profile_image_url">
+ <StillImage @click.prevent="toggleUserExpanded" class="avatar" :src="user.profile_image_url"/>
</a>
<div class="usercard" v-if="userExpanded">
<user-card-content :user="user" :switcher="false"></user-card-content>
@@ -41,6 +41,14 @@
margin-top:0.0em;
text-align: left;
width: 100%;
+ .user-name {
+ img {
+ object-fit: contain;
+ height: 16px;
+ width: 16px;
+ vertical-align: middle;
+ }
+ }
}
.follows-you {