mirror of
https://github.com/ikawrakow/ik_llama.cpp.git
synced 2026-04-30 19:31:48 +00:00
Fix visual bug
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user