diff options
| author | Ilja <ilja@ilja.space> | 2022-03-20 09:53:57 +0100 |
|---|---|---|
| committer | Ilja <ilja@ilja.space> | 2022-03-20 09:53:57 +0100 |
| commit | d0bfd9a80826a7cdb37e1a84cf70ab8a44c3579e (patch) | |
| tree | 4a0fbf2367e7bb8f4d2e71cb2499f15416bf97ef /src/components/user_avatar/user_avatar.vue | |
| parent | f9393b0dab22279e9bdb97a1cf52fecfe278a4a7 (diff) | |
| parent | 6f1d953642473412c094e5b723eb479e2b19a542 (diff) | |
Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma-fe into feat/report-notification
Diffstat (limited to 'src/components/user_avatar/user_avatar.vue')
| -rw-r--r-- | src/components/user_avatar/user_avatar.vue | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/components/user_avatar/user_avatar.vue b/src/components/user_avatar/user_avatar.vue index 4040e263..847d654b 100644 --- a/src/components/user_avatar/user_avatar.vue +++ b/src/components/user_avatar/user_avatar.vue @@ -7,7 +7,13 @@ :src="imgSrc(user.profile_image_url_original)" :class="{ 'avatar-compact': compact, 'better-shadow': betterShadow }" :image-load-error="imageLoadError" - /> + > + <FAIcon + v-if="bot" + icon="robot" + class="bot-indicator" + /> + </StillImage> <div v-else class="Avatar -placeholder" @@ -36,6 +42,12 @@ height: 100%; } + & > .bot-indicator { + position: absolute; + bottom: 0; + right: 0; + } + &.better-shadow { box-shadow: var(--_avatarShadowInset); filter: var(--_avatarShadowFilter); |
