From ca8a314835a4048b22af5f548b0529aaa9b9ab36 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 04 十二月 2024 17:49:13 +0800 Subject: [PATCH] 2024-12-04 --- src/tabviews/custom/components/share/normalTable/index.scss | 37 +++++++++++++++++++++++++++++++++++++ 1 files changed, 37 insertions(+), 0 deletions(-) diff --git a/src/tabviews/custom/components/share/normalTable/index.scss b/src/tabviews/custom/components/share/normalTable/index.scss index 120fac2..d23ed74 100644 --- a/src/tabviews/custom/components/share/normalTable/index.scss +++ b/src/tabviews/custom/components/share/normalTable/index.scss @@ -200,6 +200,43 @@ table tbody tr { color: var(--mk-table-color); } + + .mk-tree-node { + display: inline-block; + text-align: right; + --tree-node-width: 18px; + + .anticon-caret-right, .anticon-caret-down { + cursor: pointer; + padding-right: 3px; + } + .anticon-caret-down { + display: none; + } + } + .mk-tree-open { + .mk-tree-node { + .anticon-caret-right { + display: none; + } + .anticon-caret-down { + display: inline-block; + } + } + } + .mk-tree-hide { + display: none; + } + .mk-tree-td { + overflow: hidden; + word-break: break-word; + white-space: nowrap; + text-overflow: ellipsis; + } + .mk-tree-pagination { + float: right; + margin: 16px 0; + } } .normal-custom-table.mk-parity { .ant-table-tbody tr:nth-child(even) { -- Gitblit v1.8.0