Skip to content

Commit

Permalink
Fix description styling.
Browse files Browse the repository at this point in the history
  • Loading branch information
robgietema committed Nov 25, 2024
1 parent 6cd40a3 commit cc05f56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ class Edit extends Component {
return (
<>
{data.title && <h2>{data.title}</h2>}
{data.description && (
<p className="documentDescription">{data.description}</p>
)}
{data.description && <p>{data.description}</p>}
<Form
schema={{
fieldsets: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,7 @@ const FormBlockView = ({ data, id, properties, metadata, path }) => {
return (
<div className="block schemaForm">
{data.title && <h2>{data.title}</h2>}
{data.description && (
<p className="documentDescription">{data.description}</p>
)}
{data.description && <p>{data.description}</p>}
{submitted ? (
<div className="submitted">
<Message positive>
Expand Down

0 comments on commit cc05f56

Please sign in to comment.