From b6eefe5cff735dab8406fc3e43e33225bbec510e Mon Sep 17 00:00:00 2001 From: XianYuDaXian Date: Sat, 14 Mar 2026 08:00:20 +0800 Subject: [PATCH] =?UTF-8?q?fix(wb):=20=E5=BC=BA=E5=88=B6=E7=A7=BB=E5=8A=A8?= =?UTF-8?q?=E7=AB=AF=E6=8F=90=E7=A4=BA=E5=A2=9E=E5=BC=BA=E6=93=8D=E4=BD=9C?= =?UTF-8?q?=E7=BB=9D=E5=AF=B9=E5=AE=9A=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/static/public/css/imagine_workbench.css | 37 +++++-------------- .../public/pages/imagine_workbench.html | 2 +- 2 files changed, 10 insertions(+), 29 deletions(-) diff --git a/app/static/public/css/imagine_workbench.css b/app/static/public/css/imagine_workbench.css index f3619b2..9dbbb8a 100644 --- a/app/static/public/css/imagine_workbench.css +++ b/app/static/public/css/imagine_workbench.css @@ -505,15 +505,16 @@ body { inset: 0; width: 100%; height: 100%; - z-index: 4; + z-index: 10; pointer-events: none; } .prompt-editor-shell > .prompt-enhance-wrap > .prompt-enhance-actions { - position: absolute; - right: 8px; - bottom: 8px; + position: absolute !important; + right: 12px !important; + bottom: 12px !important; pointer-events: auto; + z-index: 11; } .form-textarea { @@ -521,7 +522,7 @@ body { resize: vertical; } -/* 确保提示词增强按钮固定在输入框内部右下角 */ +/* 确保提示词增强按钮固定在输入框内部右下角 (通用 field 兼容) */ .field .prompt-enhance-wrap { width: 100%; position: relative; @@ -534,34 +535,14 @@ body { min-height: 150px; padding-left: 12px; padding-right: calc(var(--pe-action-width, 104px) + 12px); - padding-bottom: 82px; + padding-bottom: 48px; } -.field .prompt-enhance-wrap > .inline-submit-btn, .field .prompt-enhance-wrap > .prompt-enhance-actions { position: absolute; - right: 8px; + right: 10px; + bottom: 10px; z-index: 3; - height: 30px; -} - -.field .prompt-enhance-wrap > .inline-submit-btn { - width: var(--pe-action-width, 104px); - min-width: var(--pe-action-width, 104px); - padding: 0 10px; -} - -.field .prompt-enhance-wrap > .prompt-enhance-actions { - width: var(--pe-action-width, 104px); - min-width: var(--pe-action-width, 104px); - padding: 0; - right: 8px; - bottom: 8px; -} - -.field .prompt-enhance-wrap > .inline-submit-btn { - right: 8px; - bottom: 8px; } .action-row { diff --git a/app/static/public/pages/imagine_workbench.html b/app/static/public/pages/imagine_workbench.html index 9e8a6bb..cf731a6 100644 --- a/app/static/public/pages/imagine_workbench.html +++ b/app/static/public/pages/imagine_workbench.html @@ -19,7 +19,7 @@ - +