Skip to content

Commit 81e66af

Browse files
authored
Merge pull request #72 from workfloworchestrator/1831-remove-styling
1831 remove styling
2 parents ecfa362 + af0069e commit 81e66af

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'pydantic-forms': patch
3+
---
4+
5+
Removes default styling

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)