fix: add min-height to #prompt-display and placeholder text in clearPromptDisplay()

The empty #prompt-display div collapsed to 0 height, making it appear
'gone'. Added min-height: 3rem and a 'No prompt selected.' placeholder
that clearPromptDisplay() now sets via innerHTML.
This commit is contained in:
2026-05-02 15:55:19 +03:00
parent 2dd32d0ef1
commit 393921e524
2 changed files with 2 additions and 1 deletions

View File

@@ -586,7 +586,7 @@
</div>
<!-- Prompt display subsections -->
<div id="prompt-display" style="max-height: 60vh; overflow-y: auto;"></div>
<div id="prompt-display" style="max-height: 60vh; overflow-y: auto; min-height: 3rem;"></div>
<!-- Hidden buffer for copy-to-clipboard raw text -->
<pre id="last-prompt" style="display: none;"></pre>
</div>