mirror of
https://github.com/ikawrakow/ik_llama.cpp.git
synced 2026-02-23 22:54:10 +00:00
Fix visual bug
This commit is contained in:
@@ -566,6 +566,10 @@ html.nockoffAI .modal-desc {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.modal-content:has(> .saved-prompts-container) {
|
||||
height:100%
|
||||
}
|
||||
|
||||
hr {
|
||||
border:unset;
|
||||
border-top: 1px solid var(--color-base-40);
|
||||
@@ -4144,7 +4148,7 @@ return html`
|
||||
</div>
|
||||
|
||||
<!-- 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`
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user