From 7f83c05c580319a7e2c3c65e5127edde766d7f6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Fri, 8 May 2020 20:54:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/table/index.wc | 4 ++-- src/table/td.wc | 1 + src/table/tr.wc | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/table/index.wc b/src/table/index.wc index e696e71..bdfd367 100644 --- a/src/table/index.wc +++ b/src/table/index.wc @@ -20,8 +20,8 @@ li { overflow: hidden; display: flex; flex-direction: column; - width: 100%; - height: 100%; + min-width: 100%; + // height: 100%; border: 1px solid nth($cp, 3); border-right: 0; diff --git a/src/table/td.wc b/src/table/td.wc index 3b2d69c..0e37e05 100644 --- a/src/table/td.wc +++ b/src/table/td.wc @@ -9,6 +9,7 @@ align-items: center; min-height: 36px; border-right: 1px solid nth($cp, 3); + border-bottom: 1px solid nth($cp, 3); } :host([flex='2']) { flex: 2; diff --git a/src/table/tr.wc b/src/table/tr.wc index 1940efc..90d4895 100644 --- a/src/table/tr.wc +++ b/src/table/tr.wc @@ -7,7 +7,6 @@ // flex: 1; display: flex; width: auto; - border-bottom: 1px solid nth($cp, 3); color: inherit; } :host(:hover) {