Skip to content

Commit 3339e7a

Browse files
- Fixed the styling for the mui ObjectFieldTemplate
1 parent f005ce7 commit 3339e7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/mui/src/ObjectFieldTemplate/ObjectFieldTemplate.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export default function ObjectFieldTemplate<
7676
element.hidden ? (
7777
element.content
7878
) : (
79-
<Grid2 size='auto' key={index} style={{ marginBottom: '10px' }}>
79+
<Grid2 size={{ xs: 12 }} key={index} style={{ marginBottom: '10px' }}>
8080
{element.content}
8181
</Grid2>
8282
)

0 commit comments

Comments
 (0)