diff --git a/frontend/src/components/StoryStructureTree.vue b/frontend/src/components/StoryStructureTree.vue index 4eac2d124..804fb3b88 100644 --- a/frontend/src/components/StoryStructureTree.vue +++ b/frontend/src/components/StoryStructureTree.vue @@ -80,7 +80,7 @@ @@ -484,17 +549,25 @@ defineExpose({ loadTree }) .node-label { display: flex; align-items: center; - gap: 8px; + gap: 6px; } -.node-icon { font-size: 16px; } -.node-title { font-size: 13px; } +.node-icon { font-size: 16px; width: 18px; text-align: center; } +.node-title { font-size: 14px; } .node-range { - font-size: 12px; + font-size: 11px; color: #999; - margin-left: 8px; + margin-left: 6px; } .node-level-1 { font-weight: 600; } .node-level-2 { font-weight: 500; } .node-level-3 { font-weight: normal; } .node-level-4 { font-weight: normal; font-size: 13px; } + +/* 紧凑布局 */ +:deep(.n-tree-node-content) { + padding: 2px 0; +} +:deep(.n-tree-node-wrapper) { + padding: 1px 0; +} diff --git a/frontend/src/components/autopilot/AutopilotDashboard.vue b/frontend/src/components/autopilot/AutopilotDashboard.vue index fdc57a93c..ffc8d7f2f 100644 --- a/frontend/src/components/autopilot/AutopilotDashboard.vue +++ b/frontend/src/components/autopilot/AutopilotDashboard.vue @@ -1,10 +1,5 @@