diff --git a/packages/client/src/schema-component/antd/grid/Grid.tsx b/packages/client/src/schema-component/antd/grid/Grid.tsx
index 454e91f53..b312d2a0e 100644
--- a/packages/client/src/schema-component/antd/grid/Grid.tsx
+++ b/packages/client/src/schema-component/antd/grid/Grid.tsx
@@ -20,7 +20,18 @@ const ColDivider = (props) => {
backgroundColor: isOver ? 'rgba(241, 139, 98, .1)' : undefined,
};
- return
;
+ return (
+
+ );
};
const RowDivider = (props) => {
@@ -52,17 +63,26 @@ const RowDivider = (props) => {
});
return (
-
+ />
);
};
@@ -152,7 +172,7 @@ export const Grid: any = observer((props: any) => {
);
})}
- {render()}
+ {render()}
);
});
diff --git a/packages/client/src/schema-component/antd/kanban/Kanban.Card.tsx b/packages/client/src/schema-component/antd/kanban/Kanban.Card.tsx
index eba55b2ae..c51074ba5 100644
--- a/packages/client/src/schema-component/antd/kanban/Kanban.Card.tsx
+++ b/packages/client/src/schema-component/antd/kanban/Kanban.Card.tsx
@@ -27,8 +27,18 @@ export const KanbanCard: any = observer((props: any) => {
bordered={false}
hoverable
style={{ cursor: 'pointer', overflow: 'hidden' }}
- bodyStyle={{ paddingBottom: 0 }}
+ // bodyStyle={{ paddingBottom: 0 }}
className={css`
+ .ant-card-body {
+ padding: 16px;
+ }
+ .nb-row-divider {
+ height: 16px;
+ margin-top: -16px;
+ &:last-child {
+ margin-top: 0;
+ }
+ }
.ant-description-input {
text-overflow: ellipsis;
width: 100%;
@@ -39,6 +49,18 @@ export const KanbanCard: any = observer((props: any) => {
width: 100%;
overflow: hidden;
}
+ .ant-formily-item {
+ margin-bottom: 12px;
+ }
+ .nb-grid-row:last-of-type {
+ .nb-grid-col {
+ .nb-form-item:last-of-type {
+ .ant-formily-item {
+ margin-bottom: 0;
+ }
+ }
+ }
+ }
`}
>