From a2cbc7cbb029eb97ab3c71ffabf6fd8a716fb70e Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 29 三月 2021 11:05:46 +0800 Subject: [PATCH] 2021-03-29 --- src/tabviews/custom/components/share/normalTable/index.scss | 30 ++++++++++++++++++++---------- 1 files changed, 20 insertions(+), 10 deletions(-) diff --git a/src/tabviews/custom/components/share/normalTable/index.scss b/src/tabviews/custom/components/share/normalTable/index.scss index e98044f..19301ac 100644 --- a/src/tabviews/custom/components/share/normalTable/index.scss +++ b/src/tabviews/custom/components/share/normalTable/index.scss @@ -1,6 +1,6 @@ .normal-custom-table { position: relative; - padding: 0 0px 30px; + padding: 0px; .normal-table-footer { padding: 10px 0px; @@ -53,12 +53,16 @@ overflow-x: auto!important; table { .ant-table-tbody > tr > td { - vertical-align: top; + // vertical-align: top; + .card-cell-list { + color: rgba(0, 0, 0, 0.85); + } .ant-mk-picture { + position: relative; background-position: center center; background-size: cover; - margin: 2px; + margin: 2px; } .action-col { .ant-btn > .anticon + span { @@ -89,6 +93,14 @@ vertical-align: middle; } .ant-table-tbody > tr > td.ant-table-column-has-actions { + .content { + position: relative; + z-index: 1; + word-wrap: break-word; + word-break: break-word; + } + } + .ant-table-tbody > tr > td { position: relative; .link-menu { position: absolute; @@ -98,13 +110,6 @@ bottom: 0px; opacity: 0; cursor: pointer; - } - - .content { - position: relative; - z-index: 1; - word-wrap: break-word; - word-break: break-word; } } .ant-table-tbody > tr > td .content { @@ -153,6 +158,11 @@ } } } +.normal-custom-table.hidden { + thead { + display: none; + } +} .image-scale-modal { width: 70vw; min-height: 80vh; -- Gitblit v1.8.0