修复控件溢出"

new_test
Bifang 2026-05-09 17:49:54 +08:00
parent cb76bdefba
commit 4b9960a6bf
2 changed files with 15 additions and 2 deletions

View File

@ -1024,7 +1024,7 @@ $$("[data-close]").forEach((button) => {
document.addEventListener("DOMContentLoaded", async () => { document.addEventListener("DOMContentLoaded", async () => {
$("#sidebar").dataset.minWidth = "260"; $("#sidebar").dataset.minWidth = "260";
$("#result-panel").dataset.minWidth = "360"; $("#result-panel").dataset.minWidth = "360";
$("#template-panel").dataset.minWidth = "360"; $("#template-panel").dataset.minWidth = "520";
applySavedLayout(); applySavedLayout();
initResize("gutter-1", "sidebar", "result-panel"); initResize("gutter-1", "sidebar", "result-panel");

View File

@ -149,7 +149,7 @@ textarea {
#template-panel { #template-panel {
flex: 0 0 42%; flex: 0 0 42%;
min-width: 360px; min-width: 520px;
} }
.panel-header { .panel-header {
@ -157,6 +157,7 @@ textarea {
justify-content: space-between; justify-content: space-between;
align-items: flex-start; align-items: flex-start;
gap: 14px; gap: 14px;
min-height: 96px;
padding: 16px 18px; padding: 16px 18px;
border-bottom: 1px solid var(--line); border-bottom: 1px solid var(--line);
background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.92)); background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.92));
@ -190,6 +191,11 @@ textarea {
gap: 4px; gap: 4px;
} }
#result-panel .panel-heading,
#template-panel .panel-heading {
min-height: 62px;
}
.status-row { .status-row {
display: flex; display: flex;
align-items: center; align-items: center;
@ -203,6 +209,13 @@ textarea {
font-size: 13px; font-size: 13px;
} }
.status-meta {
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.status-text { .status-text {
font-size: 13px; font-size: 13px;
color: var(--text); color: var(--text);