diff --git a/app/static/public/css/video.css b/app/static/public/css/video.css index 6ddb488..4575a8e 100644 --- a/app/static/public/css/video.css +++ b/app/static/public/css/video.css @@ -170,6 +170,10 @@ body { color: var(--accents-7); } +.history-panel .video-item-prompt { + color: var(--accents-6); +} + .history-panel .video-item-bar { display: block; margin-bottom: 2px; @@ -795,6 +799,20 @@ body { color: #e2e8f0; } +.video-item-prompt { + margin-top: 4px; + margin-bottom: 8px; + font-size: 12px; + line-height: 1.45; + color: rgba(226, 232, 240, 0.82); + white-space: normal; + word-break: break-word; +} + +.video-item-prompt.hidden { + display: none; +} + .video-item-actions { display: flex; align-items: center; @@ -1966,6 +1984,7 @@ html[data-theme='dark'] .cache-video-item { html[data-theme='dark'] .history-panel .video-item-title, html[data-theme='dark'] .history-panel .video-item-bar, +html[data-theme='dark'] .history-panel .video-item-prompt, html[data-theme='dark'] .cache-video-item-title, html[data-theme='dark'] .cache-video-item-meta { color: #dbe5f0; diff --git a/app/static/public/js/imagine_workbench.js b/app/static/public/js/imagine_workbench.js index e8e85d5..0e50cb8 100644 --- a/app/static/public/js/imagine_workbench.js +++ b/app/static/public/js/imagine_workbench.js @@ -1870,29 +1870,7 @@ }); } - function mountInlineSubmitButton() { - if (!editPromptInput || !submitEditBtn) return false; - const promptWrap = editPromptInput.closest('.prompt-enhance-wrap'); - if (!promptWrap) return false; - if (!promptWrap.contains(submitEditBtn)) { - const actionRow = submitEditBtn.parentElement; - promptWrap.appendChild(submitEditBtn); - if (actionRow && actionRow.classList && actionRow.classList.contains('action-row')) { - actionRow.classList.add('action-row-inline'); - } - } - submitEditBtn.classList.add('inline-submit-btn'); - return true; - } - - function ensureInlineSubmitButton(attempt = 0) { - if (mountInlineSubmitButton()) return; - if (attempt >= 20) return; - setTimeout(() => ensureInlineSubmitButton(attempt + 1), 50); - } - function init() { - ensureInlineSubmitButton(); bindEvents(); syncPromptRichInputFromTextarea(); renderReferenceStrip();