Adjust PM editor styles
| @@ -91,15 +91,34 @@ | ||
| 91 | 91 | #completion_prompt_manager_popup #completion_prompt_manager_popup_inspect { |
| 92 | 92 | display: none; |
| 93 | 93 | padding: 0.5em; |
| 94 | + height: 100%; | |
| 95 | + display: flex; | |
| 96 | + flex-direction: column; | |
| 94 | 97 | } |
| 95 | 98 | |
| 96 | 99 | #completion_prompt_manager_popup .completion_prompt_manager_popup_entry { |
| 97 | 100 | padding: 1em0.5em; |
| 98 | 101 | margin-topflex: 2em1; |
| 102 | +} | |
| 103 | + | |
| 104 | +#completion_prompt_manager_popup .completion_prompt_manager_popup_entry_form { | |
| 105 | + height: 100%; | |
| 106 | + display: flex; | |
| 107 | + flex-direction: column; | |
| 108 | +} | |
| 109 | + | |
| 110 | +#completion_prompt_manager_popup .completion_prompt_manager_popup_entry_form_control:has(#completion_prompt_manager_popup_entry_form_prompt) { | |
| 111 | + flex: 1; | |
| 112 | + display: flex; | |
| 113 | + flex-direction: column; | |
| 114 | +} | |
| 115 | + | |
| 116 | +#completion_prompt_manager_popup #completion_prompt_manager_popup_entry_form_prompt { | |
| 117 | + flex: 1; | |
| 99 | 118 | } |
| 100 | 119 | |
| 101 | 120 | #completion_prompt_manager_popup #completion_prompt_manager_popup_inspect .completion_prompt_manager_popup_entry { |
| 102 | 121 | padding: 1em0.5em; |
| 103 | 122 | } |
| 104 | 123 | |
| 105 | 124 | #completion_prompt_manager_popup #completion_prompt_manager_popup_entry_form_inspect_list { |
| @@ -248,7 +267,7 @@ | ||
| 248 | 267 | } |
| 249 | 268 | |
| 250 | 269 | #completion_prompt_manager_footer_append_prompt { |
| 251 | 270 | font-size: 16px1em; |
| 252 | 271 | } |
| 253 | 272 | |
| 254 | 273 | #prompt-manager-export-format-popup { |
| @@ -303,10 +322,6 @@ | ||
| 303 | 322 | justify-content: space-between; |
| 304 | 323 | } |
| 305 | 324 | |
| 306 | -#prompt-manager-export-format-popup span { | |
| 307 | - font-size: 16px; | |
| 308 | -} | |
| 309 | - | |
| 310 | 325 | @media screen and (max-width: 412px) { |
| 311 | 326 | #completion_prompt_manager_popup { |
| 312 | 327 | max-width: 100%; |
| @@ -317,7 +332,7 @@ | ||
| 317 | 332 | } |
| 318 | 333 | } |
| 319 | 334 | |
| 320 | 335 | .completion_prompt_manager_popup_entry_form_control:has(#completion_prompt_manager_popup_entry_form_prompt:disabled) > div:first-child::after { |
| 321 | 336 | content: 'The content of this prompt is pulled from elsewhere and cannot be edited here.'; |
| 322 | 337 | display: block; |
| 323 | 338 | width: 100%; |
| @@ -1750,7 +1750,7 @@ class PromptManager { | ||
| 1750 | 1750 | */ |
| 1751 | 1751 | showPopup(area = 'edit') { |
| 1752 | 1752 | const areaElement = document.getElementById(this.configuration.prefix + 'prompt_manager_popup_' + area); |
| 1753 | 1753 | areaElement.style.display = 'blockflex'; |
| 1754 | 1754 | |
| 1755 | 1755 | $('#' + this.configuration.prefix + 'prompt_manager_popup').first() |
| 1756 | 1756 | .slideDown(200, 'swing') |