From f3d4db769ba9b51b799d981511a710fd443d0e08 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 21 四月 2025 12:18:03 +0800 Subject: [PATCH] Merge branch 'master' into positec --- src/menu/components/table/normal-table/columns/index.scss | 28 +++++++++++++++++++--------- 1 files changed, 19 insertions(+), 9 deletions(-) diff --git a/src/menu/components/table/normal-table/columns/index.scss b/src/menu/components/table/normal-table/columns/index.scss index db07412..534355b 100644 --- a/src/menu/components/table/normal-table/columns/index.scss +++ b/src/menu/components/table/normal-table/columns/index.scss @@ -10,6 +10,11 @@ font-size: inherit; font-weight: inherit; } + .ant-table-selection-column { + width: 60px; + min-width: 60px; + max-width: 60px; + } .ant-table-body { overflow-x: auto; tr { @@ -18,6 +23,7 @@ .col-copy { margin-bottom: 0; display: inline-block; + color: inherit; .ant-typography-copy { position: absolute; left: 2px; @@ -36,7 +42,7 @@ } td:not(.ant-table-selection-column) { position: relative; - padding: 12px 8px; + // padding: 12px 8px; >.profile { position: absolute; top: 2px; @@ -54,11 +60,6 @@ >.profile + .close-col { right: 20px; } - } - } - .action-column { - .card-detail-row:empty { - min-height: 40px; } } tr:hover td { @@ -113,22 +114,31 @@ .ant-table-small > .ant-table-content > .ant-table-body { margin: 0; } + .ant-table-small.ant-table-bordered { + border-right: 1px solid #e8e8e8; + } - table, tr, th, td { + table, tr, th, td, .ant-table-small { border-color: var(--mk-table-border-color)!important; } table tr { th .ant-table-column-title { - // color: var(--mk-table-color)!important; font-size: var(--mk-table-font-size)!important; font-weight: var(--mk-table-font-weight)!important; } td { - color: var(--mk-table-color)!important; font-size: var(--mk-table-font-size)!important; font-weight: var(--mk-table-font-weight)!important; } } + table tbody tr { + color: var(--mk-table-color); + } +} +.normal-table-columns:not(.ghost) { + .ant-table-small > .ant-table-content .ant-table-thead > tr > th { + background-color: #fafafa!important; + } } .normal-table-columns.false { .ant-pagination { -- Gitblit v1.8.0