fix: ensure Vue Flow parent container has explicit dimensions

This commit is contained in:
2026-06-07 22:41:51 +08:00
parent f9ee24197a
commit 469fc1ff33
2 changed files with 7 additions and 2 deletions

View File

@@ -327,5 +327,7 @@ html, body {
.graph-area { .graph-area {
flex: 1; flex: 1;
position: relative;
min-height: 0;
} }
</style> </style>

View File

@@ -86,8 +86,11 @@ onMounted(() => {
<style scoped> <style scoped>
.scene-graph { .scene-graph {
width: 100%; position: absolute;
height: 100%; top: 0;
left: 0;
right: 0;
bottom: 0;
background: #0d0d1a; background: #0d0d1a;
} }
</style> </style>