From 8cdb6bbb9da8b06996b483188e637c79825cc7a9 Mon Sep 17 00:00:00 2001 From: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com> Date: Mon, 3 Jun 2024 21:11:54 +0900 Subject: [PATCH] =?UTF-8?q?embed=E3=81=A7=E3=81=AF=E3=83=87=E3=83=95?= =?UTF-8?q?=E3=82=A9=E3=83=AB=E3=83=88=E3=81=AE=E3=82=B3=E3=83=B3=E3=83=86?= =?UTF-8?q?=E3=82=AD=E3=82=B9=E3=83=88=E3=83=A1=E3=83=8B=E3=83=A5=E3=83=BC?= =?UTF-8?q?=E3=82=92=E5=87=BA=E3=81=99=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/frontend/src/components/MkNoteDetailed.vue | 5 +++++ packages/frontend/src/os.ts | 2 ++ 2 files changed, 7 insertions(+) diff --git a/packages/frontend/src/components/MkNoteDetailed.vue b/packages/frontend/src/components/MkNoteDetailed.vue index 6c3dd11233..ca62239aa0 100644 --- a/packages/frontend/src/components/MkNoteDetailed.vue +++ b/packages/frontend/src/components/MkNoteDetailed.vue @@ -667,6 +667,11 @@ function loadConversation() { height: 58px; } +.embeddedNote .noteHeaderAvatar { + width: 50px; + height: 50px; +} + .noteHeaderBody { flex: 1; display: flex; diff --git a/packages/frontend/src/os.ts b/packages/frontend/src/os.ts index c12c206f12..a85b2875fe 100644 --- a/packages/frontend/src/os.ts +++ b/packages/frontend/src/os.ts @@ -633,6 +633,8 @@ export function popupMenu(items: MenuItem[], src?: HTMLElement | EventTarget | n } export function contextMenu(items: MenuItem[], ev: MouseEvent): Promise { + if (isEmbedPage()) return Promise.resolve(); + ev.preventDefault(); return new Promise(resolve => { let dispose;