fix(embed-layout): stretch canvas area and pin property panel to right

This commit is contained in:
2026-02-25 00:22:07 +08:00
parent 4479c3b7f4
commit 55376651bf
3 changed files with 12 additions and 0 deletions

View File

@@ -1039,9 +1039,13 @@ onBeforeUnmount(() => {
.editor-layout {
display: flex;
height: 100%;
width: 100%;
min-width: 0;
flex: 1;
}
.flow-container {
flex: 1;
min-width: 0;
position: relative;
overflow: hidden;
}

View File

@@ -126,6 +126,7 @@ const currentAssetLibrary = computed({
background-color: #f5f7fa;
border-left: 1px solid #e4e7ed;
width: 280px;
flex-shrink: 0;
display: flex;
flex-direction: column;
overflow-y: auto;