diff --git a/src/page/Workspace/SideBar/ResourceTree/Datasource/index.less b/src/page/Workspace/SideBar/ResourceTree/Datasource/index.less index ee4241c59..bd9c682c9 100644 --- a/src/page/Workspace/SideBar/ResourceTree/Datasource/index.less +++ b/src/page/Workspace/SideBar/ResourceTree/Datasource/index.less @@ -31,15 +31,20 @@ .ant-tree-list { .ant-tree-treenode { .ant-tree-node-content-wrapper { + .ant-dropdown-trigger { + overflow: hidden; + text-overflow: ellipsis; + } &:hover { :local(.actions) { - display: block; + display: flex; + justify-content: center; } } :local(.actions) { display: none; flex: 0; - flex-basis: 20px; + flex-basis: 25px; } display: flex; .ant-tree-iconEle { diff --git a/src/page/Workspace/SideBar/ResourceTree/Datasource/index.tsx b/src/page/Workspace/SideBar/ResourceTree/Datasource/index.tsx index 37a01fbdc..53d06c46a 100644 --- a/src/page/Workspace/SideBar/ResourceTree/Datasource/index.tsx +++ b/src/page/Workspace/SideBar/ResourceTree/Datasource/index.tsx @@ -259,7 +259,7 @@ export default forwardRef(function DatasourceTree(props, ref) { = function ({
{title} - +