From 9314bcd9f2483aeb6e511a363fb26c3f9d501310 Mon Sep 17 00:00:00 2001 From: chenos Date: Thu, 23 Jun 2022 09:43:22 +0800 Subject: [PATCH] fix(client): remove z-index --- .../core/client/src/schema-component/antd/grid/Grid.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/core/client/src/schema-component/antd/grid/Grid.tsx b/packages/core/client/src/schema-component/antd/grid/Grid.tsx index bcc405082..576032f72 100644 --- a/packages/core/client/src/schema-component/antd/grid/Grid.tsx +++ b/packages/core/client/src/schema-component/antd/grid/Grid.tsx @@ -76,7 +76,7 @@ const RowDivider = (props) => { `, )} style={{ - zIndex: active ? 1000 : 0, + zIndex: active ? 1000 : -1, // height: 24, // width: '100%', // position: 'absolute', @@ -202,7 +202,7 @@ Grid.Row = observer((props) => { margin: 0 -24px; display: flex; position: relative; - z-index: 0; + /* z-index: 0; */ `, )} > @@ -237,7 +237,7 @@ Grid.Col = observer((props: any) => { 'nb-grid-col', css` position: relative; - z-index: 0; + /* z-index: 0; */ `, )} >