mirror of
https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology.git
synced 2026-05-15 22:30:38 +08:00
Refine memory LLM preset layout
This commit is contained in:
56
panel.html
56
panel.html
@@ -578,33 +578,35 @@
|
|||||||
>
|
>
|
||||||
<option value="">-- 手动模式 --</option>
|
<option value="">-- 手动模式 --</option>
|
||||||
</select>
|
</select>
|
||||||
<button
|
<div class="bme-llm-preset-actions">
|
||||||
id="bme-llm-preset-save"
|
<button
|
||||||
class="bme-config-secondary-btn"
|
id="bme-llm-preset-save"
|
||||||
title="覆盖保存当前模板"
|
class="bme-config-secondary-btn"
|
||||||
type="button"
|
title="覆盖保存当前模板"
|
||||||
>
|
type="button"
|
||||||
<i class="fa-solid fa-floppy-disk"></i>
|
>
|
||||||
<span>保存</span>
|
<i class="fa-solid fa-floppy-disk"></i>
|
||||||
</button>
|
<span>保存</span>
|
||||||
<button
|
</button>
|
||||||
id="bme-llm-preset-save-as"
|
<button
|
||||||
class="bme-config-secondary-btn"
|
id="bme-llm-preset-save-as"
|
||||||
title="另存为新模板"
|
class="bme-config-secondary-btn"
|
||||||
type="button"
|
title="另存为新模板"
|
||||||
>
|
type="button"
|
||||||
<i class="fa-solid fa-file-circle-plus"></i>
|
>
|
||||||
<span>另存为</span>
|
<i class="fa-solid fa-file-circle-plus"></i>
|
||||||
</button>
|
<span>另存为</span>
|
||||||
<button
|
</button>
|
||||||
id="bme-llm-preset-delete"
|
<button
|
||||||
class="bme-config-secondary-btn"
|
id="bme-llm-preset-delete"
|
||||||
title="删除当前模板"
|
class="bme-config-secondary-btn"
|
||||||
type="button"
|
title="删除当前模板"
|
||||||
>
|
type="button"
|
||||||
<i class="fa-solid fa-trash-can"></i>
|
>
|
||||||
<span>删除</span>
|
<i class="fa-solid fa-trash-can"></i>
|
||||||
</button>
|
<span>删除</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="bme-config-row">
|
<div class="bme-config-row">
|
||||||
|
|||||||
23
style.css
23
style.css
@@ -1424,18 +1424,25 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.bme-llm-preset-controls {
|
.bme-llm-preset-controls {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: stretch;
|
||||||
|
gap: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bme-llm-preset-controls select {
|
||||||
|
min-width: 0;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bme-llm-preset-actions {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 6px;
|
gap: 6px;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bme-llm-preset-controls select {
|
.bme-llm-preset-actions .bme-config-secondary-btn {
|
||||||
flex: 1;
|
|
||||||
min-width: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.bme-llm-preset-controls .bme-config-secondary-btn {
|
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2896,12 +2903,12 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bme-llm-preset-controls {
|
.bme-llm-preset-actions {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bme-llm-preset-controls .bme-config-secondary-btn {
|
.bme-llm-preset-actions .bme-config-secondary-btn {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user