Fix visual bug

This commit is contained in:
Saood Karim
2025-08-14 23:44:52 -05:00
parent 4a5695ef6f
commit 2767ae6934

View File

@@ -566,6 +566,10 @@ html.nockoffAI .modal-desc {
overflow: hidden; overflow: hidden;
} }
.modal-content:has(> .saved-prompts-container) {
height:100%
}
hr { hr {
border:unset; border:unset;
border-top: 1px solid var(--color-base-40); border-top: 1px solid var(--color-base-40);
@@ -4144,7 +4148,7 @@ return html`
</div> </div>
<!-- Right Panel: Preview --> <!-- Right Panel: Preview -->
<div className="prompt-preview" style=${{'flex': 1, 'display': 'flex', 'flex-direction': 'column', 'overflow': 'hidden', 'height': '100vh'}}> <div className="prompt-preview" style=${{'flex': 1, 'display': 'flex', 'flex-direction': 'column', 'overflow': 'hidden'}}>
${selectedPrompt ? html` ${selectedPrompt ? html`
<div style=${{'margin-bottom': '8px', 'padding-bottom': '8px', 'border-bottom': '1px solid rgba(128,128,128,0.3)'}}> <div style=${{'margin-bottom': '8px', 'padding-bottom': '8px', 'border-bottom': '1px solid rgba(128,128,128,0.3)'}}>
<h3 style=${{'margin': '0 0 4px 0'}}>${Object.hasOwn(selectedPrompt, 'slot_id') ? `Slot #${selectedPrompt.slot_id}` : selectedPrompt.filename.replace('.bin', '')}</h3> <h3 style=${{'margin': '0 0 4px 0'}}>${Object.hasOwn(selectedPrompt, 'slot_id') ? `Slot #${selectedPrompt.slot_id}` : selectedPrompt.filename.replace('.bin', '')}</h3>