From 957c6021b893d0ecd6c48e400e6b2d2ef107d7bc Mon Sep 17 00:00:00 2001 From: fofolee Date: Wed, 22 Jan 2025 16:01:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20CommandButtons=20=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E7=9A=84=E8=8F=9C=E5=8D=95=E6=A0=B7=E5=BC=8F=EF=BC=8C?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=BA=86=E5=9B=BE=E6=A0=87=E5=A4=A7=E5=B0=8F?= =?UTF-8?q?=E5=92=8C=E8=8F=9C=E5=8D=95=E9=A1=B9=E7=9A=84=E5=AF=86=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../composer/card/CommandButtons.vue | 31 +++++++++++++++---- 1 file changed, 25 insertions(+), 6 deletions(-) diff --git a/src/components/composer/card/CommandButtons.vue b/src/components/composer/card/CommandButtons.vue index a1364b3..707e28a 100644 --- a/src/components/composer/card/CommandButtons.vue +++ b/src/components/composer/card/CommandButtons.vue @@ -62,22 +62,25 @@ v-if="!isControlFlow || isFirstCommandInChain" > - - + + - + 复制命令 - + {{ command.disabled ? "启用命令" : "禁用命令" @@ -85,13 +88,14 @@ - + 打印输出 @@ -262,4 +266,19 @@ export default { .body--dark .output-btn:hover { background: rgba(255, 255, 255, 0.05); } + +.more-menu { + min-width: 120px; + font-size: 12px; + opacity: 0.8; +} + +.more-menu :deep(.q-item) { + min-height: 32px; +} + +.more-menu :deep(.q-item__section--avatar) { + min-width: 24px; + padding: 0 4px; +}