fix: 恢复 AgentRun 思维导图画布高度
This commit is contained in:
@@ -84,6 +84,10 @@ test("AgentRun workspace always owns the remaining grid row", () => {
|
||||
assert.match(styleSource, /agent-observer-workspace \{ grid-row: -2 \/ -1;/);
|
||||
});
|
||||
|
||||
test("AgentRun mind map always owns the flexible tree row", () => {
|
||||
assert.match(styleSource, /agent-observer-tree > \.agent-mind-map \{ grid-row: -2 \/ -1; \}/);
|
||||
});
|
||||
|
||||
function readSource(relativePath: string): string {
|
||||
return readFileSync(new URL(relativePath, import.meta.url), "utf8");
|
||||
}
|
||||
|
||||
@@ -97,6 +97,7 @@
|
||||
.agent-observer-card footer span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
|
||||
.agent-observer-tree { height: 100%; min-width: 0; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); }
|
||||
.agent-observer-tree > .agent-mind-map { grid-row: -2 / -1; }
|
||||
.agent-mind-map { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: var(--console-surface-muted); }
|
||||
.agent-mind-map-flow { width: 100%; height: 100%; }
|
||||
.agent-mind-map-flow .vue-flow__pane { cursor: grab; }
|
||||
|
||||
Reference in New Issue
Block a user