Skip to content

Commit

Permalink
fix: fix form style
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai2144 committed Jul 12, 2021
1 parent 861e9ee commit fc8aaf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FormBasicForm/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const PAGE_NAME_UPPER_CAMEL_CASE: FC<Record<string, any>> = () => {
<Card bordered={false}>
<ProForm
hideRequiredMark
style={{ marginTop: 8 }}
style={{ margin: 'auto', marginTop: 8, maxWidth: 600 }}
name="basic"
layout="vertical"
initialValues={{ public: '1' }}
Expand Down

0 comments on commit fc8aaf0

Please sign in to comment.