From 4274a280defbc2792abe63ced7aa5cc9501c2559 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Mon, 18 Apr 2022 21:54:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20table=20=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=20column=20=E9=85=8D=E7=BD=AE=20width=20=E5=B1=9E?= =?UTF-8?q?=E6=80=A7=E4=B8=8D=E7=94=9F=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package/component/src/component/table/index.less | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/package/component/src/component/table/index.less b/package/component/src/component/table/index.less index 43fd38c0..e8d7610a 100644 --- a/package/component/src/component/table/index.less +++ b/package/component/src/component/table/index.less @@ -11,8 +11,7 @@ } .layui-table tr { - transition: all 0.3s; - -webkit-transition: all 0.3s; + display: flex; } .layui-table th { @@ -57,6 +56,7 @@ position: relative; padding: 9px 15px; min-height: 20px; + height: 40px; line-height: 20px; font-size: 14px; } @@ -355,14 +355,6 @@ margin-bottom: -1px; } -.layui-table-header tr th:last-child { - border-right: none; -} - -.layui-table-body tr td:last-child { - border-right: none; -} - .layui-table-body .layui-none { line-height: 26px; padding: 30px 15px;