diff --git a/src/App.vue b/src/App.vue index 17acf76..e4d942c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -14,7 +14,7 @@ const route = useRoute(); - + @@ -54,6 +54,10 @@ const route = useRoute(); padding: 18px 20px 24px; } +.shell-main.wide { + max-width: 1720px; +} + .shell-footer { height: auto; padding: 0 20px 18px; diff --git a/src/components/MindMapViewer.vue b/src/components/MindMapViewer.vue index 3b8c56d..c1ae45e 100644 --- a/src/components/MindMapViewer.vue +++ b/src/components/MindMapViewer.vue @@ -23,6 +23,8 @@ const props = defineProps<{ editable?: boolean; /** 是否按 MATCHED/MISSED 标记着色 */ colorByCompare?: boolean; + /** 画布高度,如 "520px"、"60vh",默认 480px */ + height?: string; }>(); const emit = defineEmits<{ @@ -143,13 +145,12 @@ onBeforeUnmount(() => {