diff --git a/src/workbench/browser/src/app/shared/components/api-script/api-script.component.scss b/src/workbench/browser/src/app/shared/components/api-script/api-script.component.scss index 41432d722..7056b13be 100644 --- a/src/workbench/browser/src/app/shared/components/api-script/api-script.component.scss +++ b/src/workbench/browser/src/app/shared/components/api-script/api-script.component.scss @@ -1,8 +1,24 @@ .eo-api-script { - ::ng-deep .ant-tree-indent { + ::ng-deep .ant-tree-indent { width: 20px; } - ::ng-deep .ant-tree-switcher { - // width: 0; + ::ng-deep .ant-tree-switcher { + width: 0; + } + ::ng-deep .ant-tree-treenode-switcher-open { + .ant-tree-indent { + width: 0; + } + .ant-tree-switcher { + width: 20px; + } + } + ::ng-deep .ant-tree-treenode-switcher-close { + .ant-tree-indent { + width: 0; + } + .ant-tree-switcher { + width: 20px; + } } }