From a1b8587ab28b4de39bca24ae1ffdd77eb9a0c2f5 Mon Sep 17 00:00:00 2001 From: Johann150 Date: Thu, 7 Jul 2022 14:17:47 +0200 Subject: enhance: show recipients of notes with specified visibility (#8949) * enhance: reusable visibility component * rename renote tooltip component The tooltip that is used for renotes can be used in other cases as well. * add tooltip for specified recipients * add changelog entry * Update visibility.vue Co-authored-by: syuilo --- packages/client/src/components/note.vue | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'packages/client/src/components/note.vue') diff --git a/packages/client/src/components/note.vue b/packages/client/src/components/note.vue index 98c5c9a67a..b494c70392 100644 --- a/packages/client/src/components/note.vue +++ b/packages/client/src/components/note.vue @@ -28,12 +28,7 @@ - - - - - - +
@@ -118,6 +113,7 @@ import XPoll from './poll.vue'; import XRenoteButton from './renote-button.vue'; import MkUrlPreview from '@/components/url-preview.vue'; import MkInstanceTicker from '@/components/instance-ticker.vue'; +import MkVisibility from '@/components/visibility.vue'; import { pleaseLogin } from '@/scripts/please-login'; import { focusPrev, focusNext } from '@/scripts/focus'; import { checkWordMute } from '@/scripts/check-word-mute'; @@ -406,14 +402,6 @@ function readPromo() { margin-right: 4px; } } - - > .visibility { - margin-left: 8px; - } - - > .localOnly { - margin-left: 8px; - } } } -- cgit v1.2.3-freya