From: Codebuddy Date: Tue, 18 Aug 2026 01:39:16 +0000 (+0800) Subject: fix(ui): 粘贴弹窗移除点击外部关闭,新增右上角✕(关闭并清空),避免误触丢失输入 X-Git-Url: http://acesimba.cloud/gitweb/?a=commitdiff_plain;h=c47d4d64b82dbd4d91631ace747c7d141c060916;p=codebuddy-web.git fix(ui): 粘贴弹窗移除点击外部关闭,新增右上角✕(关闭并清空),避免误触丢失输入 --- diff --git a/frontend/index.html b/frontend/index.html index e0cb4fa..d6de32e 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -115,6 +115,13 @@ body { position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100%; heigh } .picker-header .action-btn:hover { background: #2a2a40; } .picker-header .action-btn .ico { color: #ff5b5b; margin-right: 2px; } +.paste-close { + position: absolute; top: 10px; right: 12px; width: 28px; height: 28px; + display: flex; align-items: center; justify-content: center; + background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); + border-radius: 6px; color: #ff8585; font-size: 16px; line-height: 1; cursor: pointer; +} +.paste-close:hover { background: rgba(255,90,90,0.18); color: #fff; border-color: rgba(255,90,90,0.5); } .picker-body { flex: 1; overflow: auto; padding: 28px; } .picker-main { display: flex; flex: 1; min-height: 0; } #skills-sidebar { @@ -322,7 +329,8 @@ body { position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100%; heigh