From 4a356e81b1a456f0cb16f61f548c46171c26c1b6 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 05 十二月 2024 20:10:55 +0800 Subject: [PATCH] 2024-12-05 --- src/tabviews/custom/components/share/normalTable/index.scss | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 45 insertions(+), 0 deletions(-) diff --git a/src/tabviews/custom/components/share/normalTable/index.scss b/src/tabviews/custom/components/share/normalTable/index.scss index b41bf8b..d23ed74 100644 --- a/src/tabviews/custom/components/share/normalTable/index.scss +++ b/src/tabviews/custom/components/share/normalTable/index.scss @@ -170,6 +170,14 @@ } .ant-table-small.ant-table-bordered { border-right: 1px solid #e8e8e8; + + .ant-table-content { + border-radius: inherit; + + .ant-table-scroll { + border-radius: inherit; + } + } } table, tr, th, td, .ant-table-small { @@ -192,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