From 577d40df04c4da0d9fdd0c49d8e7b2215287d0b5 Mon Sep 17 00:00:00 2001 From: Lhcfl Date: Wed, 22 May 2024 10:56:29 +0800 Subject: [PATCH] style: adjust MkPostForm --- packages/client/src/components/MkPostForm.vue | 25 ++----------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/packages/client/src/components/MkPostForm.vue b/packages/client/src/components/MkPostForm.vue index 9d992aeba3..bac4a5a508 100644 --- a/packages/client/src/components/MkPostForm.vue +++ b/packages/client/src/components/MkPostForm.vue @@ -1369,27 +1369,6 @@ function showMoreMenu(ev: MouseEvent) { os.popupMenu(menu, (ev.currentTarget ?? ev.target) as HTMLElement); } -// function showActions(ev: MouseEvent) { -// os.popupMenu( -// postFormActions.map((action) => ({ -// text: action.title, -// action: () => { -// action.handler( -// { -// text: text.value, -// }, -// (key, value) => { -// if (key === "text") { -// text.value = value; -// } -// }, -// ); -// }, -// })), -// (ev.currentTarget ?? ev.target) as HTMLElement, -// ); -// } - const postAccount = ref(null); function openAccountMenu(ev: MouseEvent) { @@ -1772,8 +1751,8 @@ onMounted(() => { > button { font-size: 14px; - width: 42px; - height: 42px; + width: 44px; + height: 44px; } } }