AI media harness for planning, generating, and editing locally
TypeScript
Scroll long prompts in the prompt text field
Bitti6a80cb7ebae9
diff --git a/src/styles/prompt-field.css b/src/styles/prompt-field.cssindex 02edc44..8652eca 100644--- a/src/styles/prompt-field.css+++ b/src/styles/prompt-field.css@@ -30,8 +30,12 @@single-line padding and height. */.prompt-field .prompt-field__input {width: 100%;- height: auto;- min-height: calc(var(--prompt-rows, 4) * 1lh + 2 * var(--space-2) + 2px);+ /* A fixed height of `rows` lines, like the textarea it replaced: a longer+ prompt scrolls inside it, and the bottom edge still drags it taller. */+ height: calc(var(--prompt-rows, 4) * 1lh + 2 * var(--space-2) + 2px);+ min-height: calc(2lh + 2 * var(--space-2) + 2px);+ overflow-y: auto;+ resize: vertical;padding: var(--space-2);overflow-wrap: anywhere;white-space: pre-wrap;