diff --git a/src/YysEditorEmbed.vue b/src/YysEditorEmbed.vue index 7b81fcf..2041448 100644 --- a/src/YysEditorEmbed.vue +++ b/src/YysEditorEmbed.vue @@ -22,6 +22,7 @@ @@ -347,6 +348,12 @@ onBeforeUnmount(() => { overflow: hidden; } +.flow-editor-pane { + flex: 1; + min-width: 0; + height: 100%; +} + .preview-mode { background: transparent; } diff --git a/src/components/flow/FlowEditor.vue b/src/components/flow/FlowEditor.vue index a05045b..2325ca6 100644 --- a/src/components/flow/FlowEditor.vue +++ b/src/components/flow/FlowEditor.vue @@ -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; } diff --git a/src/components/flow/PropertyPanel.vue b/src/components/flow/PropertyPanel.vue index 3c286af..b2cd785 100644 --- a/src/components/flow/PropertyPanel.vue +++ b/src/components/flow/PropertyPanel.vue @@ -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;