From f2c7638bd7789bddacd56ea2ab809f4a0b3b86cb Mon Sep 17 00:00:00 2001 From: 陈文彬 <anncwb@126.com> Date: 星期四, 08 十月 2020 15:26:50 +0800 Subject: [PATCH] fix: fix the style problem of the table border in the production environment --- src/components/Table/src/style/index.less | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/Table/src/style/index.less b/src/components/Table/src/style/index.less index 9918643..ad998a0 100644 --- a/src/components/Table/src/style/index.less +++ b/src/components/Table/src/style/index.less @@ -1,5 +1,5 @@ @import (reference) '../../../../design/index.less'; -@border-color: hsla(0, 0%, 80.8%, 0.25); +@border-color: #cecece4d; .basic-table { &-title { @@ -93,7 +93,7 @@ .ant-table-bordered .ant-table-body > table, .ant-table-bordered .ant-table-fixed-left table, .ant-table-bordered .ant-table-fixed-right table { - border: 1px solid @border-color; + border: 1px solid @border-color !important; } .ant-table-thead { @@ -103,7 +103,7 @@ } .ant-table-bordered .ant-table-tbody > tr > td { - border-bottom: 1px solid @border-color; + border-bottom: 1px solid @border-color !important; &:last-child { border-right: none !important; @@ -129,7 +129,7 @@ .ant-table-bordered .ant-table-thead > tr > th, .ant-table-bordered .ant-table-tbody > tr > td { - border-right: 1px solid @border-color; + border-right: 1px solid @border-color !important; } .ant-table-thead > tr > th, @@ -153,7 +153,7 @@ } .ant-table-fixed-right .ant-table-header { - border-left: 1px solid @border-color; + border-left: 1px solid @border-color !important; .ant-table-fixed { border-bottom: none; @@ -187,7 +187,7 @@ .ant-table-bordered .ant-table-thead > tr:not(:last-child) > th, .ant-table-tbody > tr > td { word-break: break-word; - border-color: @border-color; + border-color: @border-color !important; } .ant-table-footer { -- Gitblit v1.8.0