From eb1ecd90e6fe23ec03b4fa3db759eb976f730598 Mon Sep 17 00:00:00 2001 From: dwarf Date: Sun, 30 Oct 2022 09:26:25 +0000 Subject: [PATCH] client: Add "follows you" pill to user profile popup Changelog: Added Reviewed-on: https://akkoma.dev/FoundKeyGang/FoundKey/pulls/217 --- packages/client/src/components/user-preview.vue | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/packages/client/src/components/user-preview.vue b/packages/client/src/components/user-preview.vue index b4f3dc0be..3cf7c49e5 100644 --- a/packages/client/src/components/user-preview.vue +++ b/packages/client/src/components/user-preview.vue @@ -2,7 +2,9 @@
- +
@@ -105,6 +107,16 @@ onMounted(() => { background-color: rgba(0, 0, 0, 0.1); background-size: cover; background-position: center; + > .followed { + position: absolute; + top: 12px; + left: 12px; + padding: 4px 8px; + color: #fff; + background: rgba(0, 0, 0, 0.7); + font-size: 0.7em; + border-radius: 6px; + } } > .avatar {