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 @@ - +