diff --git a/ruoyi-admin/src/main/resources/templates/home/dept_trends_view.html b/ruoyi-admin/src/main/resources/templates/home/dept_trends_view.html index 252bc82..4c4c6e1 100644 --- a/ruoyi-admin/src/main/resources/templates/home/dept_trends_view.html +++ b/ruoyi-admin/src/main/resources/templates/home/dept_trends_view.html @@ -162,6 +162,14 @@ .el-tree-node__children .el-tree-node__label{ font-size: 16px; } + .custom-tree-node { + width: 100%; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + display: block; + font-size: 16px; + } @@ -196,6 +204,8 @@ :expand-on-click-node="false" @node-click="handleNodeClick" > + +
diff --git a/ruoyi-admin/src/main/resources/templates/home/special_view.html b/ruoyi-admin/src/main/resources/templates/home/special_view.html index cf96a8c..4aeb707 100644 --- a/ruoyi-admin/src/main/resources/templates/home/special_view.html +++ b/ruoyi-admin/src/main/resources/templates/home/special_view.html @@ -141,9 +141,6 @@ .pag { margin-top: 80px; - position: absolute; - bottom: 4%; - right: 27%; } .el-tree-node { border-bottom: 1px solid #E1E1E1; @@ -163,9 +160,14 @@ } .el-tree-node__children .el-tree-node__label{ font-size: 16px; + } + .custom-tree-node { + width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; + display: block; + font-size: 16px; } @@ -201,6 +203,8 @@ :expand-on-click-node="false" @node-click="handleNodeClick" > + +