@@ -45,12 +45,10 @@ import { userPage } from '@/utils.js';
const props = withDefaults(defineProps<{
user: Misskey.entities.User;
- target?: string | null;
link?: boolean;
preview?: boolean;
indicator?: boolean;
}>(), {
- target: null,
link: false,
preview: false,
indicator: false,
@@ -61,7 +59,7 @@ const emit = defineEmits<{
}>();
const bound = computed(() => props.link
- ? { to: userPage(props.user), target: props.target }
+ ? { to: userPage(props.user) }
: {});
const url = computed(() => {
@@ -69,11 +67,6 @@ const url = computed(() => {
return props.user.avatarUrl;
});
-function onClick(ev: MouseEvent): void {
- if (props.link) return;
- emit('click', ev);
-}
-
function getDecorationUrl(decoration: Omit) {
return decoration.url;
}
diff --git a/packages/frontend-embed/src/components/EmNote.vue b/packages/frontend-embed/src/components/EmNote.vue
index 6a818c72e6..1b5d3db4bf 100644
--- a/packages/frontend-embed/src/components/EmNote.vue
+++ b/packages/frontend-embed/src/components/EmNote.vue
@@ -41,7 +41,7 @@ SPDX-License-Identifier: AGPL-3.0-only
-
+
diff --git a/packages/frontend/src/components/MkEmbedCodeGenDialog.vue b/packages/frontend/src/components/MkEmbedCodeGenDialog.vue
index 660846a287..e1f7243196 100644
--- a/packages/frontend/src/components/MkEmbedCodeGenDialog.vue
+++ b/packages/frontend/src/components/MkEmbedCodeGenDialog.vue
@@ -324,8 +324,9 @@ onUnmounted(() => {
z-index: 100;
top: 8px;
left: 8px;
- padding: 6px 8px;
+ padding: 6px 10px;
border-radius: 6px;
+ font-size: 85%;
}
.embedCodeGenPreviewSpinner {