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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user