From 1704f57aad017c375967dde981091df1f234f3e7 Mon Sep 17 00:00:00 2001 From: Xiao Yijun Date: Tue, 21 Jun 2022 16:57:58 +0800 Subject: [PATCH] fix(console): remove underline in the empty table (#1180) --- packages/console/src/components/Table/TableEmpty.module.scss | 4 ++++ packages/console/src/components/Table/TableEmpty.tsx | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/console/src/components/Table/TableEmpty.module.scss b/packages/console/src/components/Table/TableEmpty.module.scss index ce7100438..58bd34039 100644 --- a/packages/console/src/components/Table/TableEmpty.module.scss +++ b/packages/console/src/components/Table/TableEmpty.module.scss @@ -1,5 +1,9 @@ @use '@/scss/underscore' as _; +.tableEmptyTableData { + border-bottom: unset; +} + .tableEmpty { display: flex; flex-direction: column; diff --git a/packages/console/src/components/Table/TableEmpty.tsx b/packages/console/src/components/Table/TableEmpty.tsx index d2d67ed2a..c4ac930b2 100644 --- a/packages/console/src/components/Table/TableEmpty.tsx +++ b/packages/console/src/components/Table/TableEmpty.tsx @@ -17,7 +17,7 @@ const TableEmpty = ({ title, content, children, columns }: Props) => { return ( - +