From dbd1090b1bc74cf7d9a6a90272676b75fe413922 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: Sun, 4 Sep 2022 03:20:57 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=80(component):=20=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=20flex=20=E4=BC=98=E5=8C=96=20table=20tool=20=E5=B8=83?= =?UTF-8?q?=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package/component/src/component/table/index.less | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/package/component/src/component/table/index.less b/package/component/src/component/table/index.less index c6b245a9..5466522f 100644 --- a/package/component/src/component/table/index.less +++ b/package/component/src/component/table/index.less @@ -202,6 +202,10 @@ margin-bottom: -1px; } +.layui-table-tool .layui-table-tool-temp { + flex: auto; +} + .layui-table-tool .layui-inline[lay-event] { position: relative; width: 26px; @@ -222,16 +226,6 @@ border: 1px solid #999; } -.layui-table-tool-temp { - padding-right: 120px; -} - -.layui-table-tool-self { - position: absolute; - right: 17px; - top: 10px; -} - .layui-table-tool .layui-table-tool-self .layui-inline[lay-event] { margin: 0 0 0 10px; } @@ -481,6 +475,7 @@ .layui-table-tool { position: relative; + display: flex; z-index: 890; width: 100%; min-height: 50px;