From c4f5ef8c56209aa344f7d57431ae29cc2c61c05e Mon Sep 17 00:00:00 2001 From: JOJO <1498581755@qq.com> Date: Sun, 30 Aug 2026 23:36:08 +0800 Subject: [PATCH] =?UTF-8?q?fix(ui):=20=E6=89=8B=E6=9C=BA=E7=AB=AF=E6=9D=83?= =?UTF-8?q?=E9=99=90=E5=88=87=E6=8D=A2=E8=8F=9C=E5=8D=95=E9=98=B2=E6=BA=A2?= =?UTF-8?q?=E5=87=BA=EF=BC=8C=E6=BA=A2=E5=87=BA=E6=97=B6=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=E5=B1=8F=E5=B9=95=E6=B0=B4=E5=B9=B3=E5=B1=85=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 锚点在输入栏左下而菜单较宽(250/350px),right:0 右对齐导致菜单左缘算出负数跑出屏幕外。打开时测量锚点位置与菜单宽度:右对齐不溢出屏幕左缘则保持现状;溢出则换算水平偏移让菜单相对屏幕居中,垂直方向保持锚点上方不变。仅 ≤768px 断点生效,监听 resize 重算 --- static/src/components/input/InputComposer.vue | 50 ++++++++++++++++++- 1 file changed, 48 insertions(+), 2 deletions(-) diff --git a/static/src/components/input/InputComposer.vue b/static/src/components/input/InputComposer.vue index 5ffbcc93..ac457ffd 100644 --- a/static/src/components/input/InputComposer.vue +++ b/static/src/components/input/InputComposer.vue @@ -499,7 +499,7 @@ > {{ $t('input.versionControl') }} -
+