feat(KB-119): complete Step 2 — improve dependency dropdown and chips layout

This commit is contained in:
gsxdsm
2026-03-30 08:07:22 -07:00
parent e9a7941ff1
commit 65f78adb59

View File

@@ -2193,11 +2193,12 @@ body {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
min-width: 220px;
max-height: 200px;
min-width: 240px;
max-width: 320px;
max-height: 240px;
overflow-y: auto;
z-index: 50;
box-shadow: var(--shadow);
z-index: 200;
box-shadow: var(--shadow-lg);
}
.dep-dropdown-search {
@@ -7417,33 +7418,44 @@ html .column.drag-over * {
flex-wrap: wrap;
gap: 6px;
margin-top: 8px;
padding: 2px 0;
}
.dep-chip {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 2px 8px;
padding: 3px 8px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
font-size: 12px;
color: var(--text);
font-family: var(--font-mono);
max-width: 100%;
}
.dep-chip-remove {
display: inline-flex;
align-items: center;
justify-content: center;
width: 16px;
height: 16px;
background: none;
border: none;
color: var(--text-muted);
cursor: pointer;
font-size: 14px;
font-size: 12px;
line-height: 1;
padding: 0 2px;
padding: 0;
margin-left: 2px;
border-radius: 50%;
transition: background 0.1s, color 0.1s;
}
.dep-chip-remove:hover {
color: var(--color-error);
background: rgba(248, 81, 73, 0.1);
}
.model-select-row {