diff --git a/packages/react/src/widgets/ComponentTreeWidget/styles.less b/packages/react/src/widgets/ComponentTreeWidget/styles.less index 53487a46a..8557e296b 100644 --- a/packages/react/src/widgets/ComponentTreeWidget/styles.less +++ b/packages/react/src/widgets/ComponentTreeWidget/styles.less @@ -1,5 +1,12 @@ @import '../../variables.less'; .@{prefix-cls}-component-tree { - min-height: 90%; -} + min-height: 100%; + display: flex; + min-width: 100%; + + &>* { + min-height: 100%; + min-width: 100%; + } +} \ No newline at end of file