Skip to content

Commit 6f800f5

Browse files
author
Ruben van Leeuwen
committed
1831: Remove styling
1 parent ecfa362 commit 6f800f5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

frontend/packages/pydantic-forms/src/components/form/Footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const Footer = () => {
8080
);
8181

8282
return (
83-
<div style={{ height: '200px' }}>
83+
<div style={{ height: '200px', marginTop: '24px' }}>
8484
{footerComponent && <div>{footerComponent}</div>}{' '}
8585
<div style={{ display: 'flex', gap: '16px' }}>
8686
{rhf.formState.isValid &&

frontend/packages/pydantic-forms/src/components/render/RenderForm.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const RenderForm = (contextProps: PydanticFormContextProps) => {
6565
);
6666

6767
return (
68-
<form action={''} onSubmit={submitForm} style={{ width: '500px' }}>
68+
<form action={''} onSubmit={submitForm}>
6969
{title !== false &&
7070
title !== 'undefined' &&
7171
title !== 'unknown' && (
@@ -78,7 +78,7 @@ const RenderForm = (contextProps: PydanticFormContextProps) => {
7878

7979
<RenderFormErrors />
8080

81-
<div style={{ marginBottom: '24px' }}>
81+
<div>
8282
<Renderer pydanticFormComponents={pydanticFormComponents} />
8383
</div>
8484
<FooterRenderer />

0 commit comments

Comments
 (0)