Skip to content

Commit

Permalink
fix(descriptions): fix Descriptions action no center error
Browse files Browse the repository at this point in the history
close #6808
  • Loading branch information
chenshuai2144 committed Mar 18, 2023
1 parent d86638b commit 11c1166
Show file tree
Hide file tree
Showing 2 changed files with 152 additions and 190 deletions.
4 changes: 2 additions & 2 deletions packages/descriptions/src/index.tsx
Expand Up @@ -231,7 +231,7 @@ export const FieldRender: React.FC<
)
: undefined;
return (
<Space style={{ alignItems: 'baseline' }}>
<div style={{ display: 'flex', gap: 8, alignItems: 'center' }}>
<InlineErrorFormItem
name={dataIndex}
{...formItemProps}
Expand All @@ -255,7 +255,7 @@ export const FieldRender: React.FC<
saveText: <CheckOutlined />,
deleteText: false,
})}
</Space>
</div>
) as React.ReactNode;
};

Expand Down

0 comments on commit 11c1166

Please sign in to comment.