Skip to content

Commit

Permalink
chore: improve rjsf styles
Browse files Browse the repository at this point in the history
  • Loading branch information
k0stik committed Jul 29, 2024
1 parent 546aac9 commit 603d421
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/other/rjsf/templates/DescriptionFieldTemplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import React from "react";
export default function DescriptionFieldTemplate(props) {
const { id, description } = props;
if (description) {
return (React.createElement(Typography, { id: id, variant: "subtitle2", style: { marginTop: "5px" } }, description));
return (React.createElement(Typography, { id: id, variant: "subtitle2", sx: { mb: 10 } }, description));
}
return null;
}
2 changes: 1 addition & 1 deletion src/other/rjsf/templates/DescriptionFieldTemplate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function DescriptionFieldTemplate<
const { id, description } = props;
if (description) {
return (
<Typography id={id} variant="subtitle2" style={{ marginTop: "5px" }}>
<Typography id={id} variant="subtitle2" sx={{ mb: 10 }}>
{description}
</Typography>
);
Expand Down

0 comments on commit 603d421

Please sign in to comment.