Refine memory LLM preset layout

This commit is contained in:
Youzini-afk
2026-04-07 11:29:12 +08:00
parent 95205de1df
commit f93b26a52c
2 changed files with 44 additions and 35 deletions

View File

@@ -578,6 +578,7 @@
>
<option value="">-- 手动模式 --</option>
</select>
<div class="bme-llm-preset-actions">
<button
id="bme-llm-preset-save"
class="bme-config-secondary-btn"
@@ -607,6 +608,7 @@
</button>
</div>
</div>
</div>
<div class="bme-config-row">
<label for="bme-setting-llm-url">LLM API 地址</label>
<input

View File

@@ -1424,18 +1424,25 @@
}
.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;
align-items: center;
gap: 6px;
flex-wrap: wrap;
}
.bme-llm-preset-controls select {
flex: 1;
min-width: 0;
}
.bme-llm-preset-controls .bme-config-secondary-btn {
.bme-llm-preset-actions .bme-config-secondary-btn {
flex-shrink: 0;
}
@@ -2896,12 +2903,12 @@
width: 100%;
}
.bme-llm-preset-controls {
.bme-llm-preset-actions {
flex-direction: column;
align-items: stretch;
}
.bme-llm-preset-controls .bme-config-secondary-btn {
.bme-llm-preset-actions .bme-config-secondary-btn {
width: 100%;
}