Markdown in ObjectSchema should not be inline

This commit is contained in:
Fabian Vollmann 2020-04-16 10:01:20 +02:00
parent 26a8cff142
commit b480a625d0

View File

@ -46,7 +46,7 @@ export class ObjectSchema extends React.Component<ObjectSchemaProps> {
return ( return (
<div> <div>
<Markdown compact={true} inline={true} source={this.props.schema.description} /> <Markdown compact={true} inline={false} source={this.props.schema.description} />
<PropertiesTable> <PropertiesTable>
{showTitle && <PropertiesTableCaption>{this.props.schema.title}</PropertiesTableCaption>} {showTitle && <PropertiesTableCaption>{this.props.schema.title}</PropertiesTableCaption>}
<tbody> <tbody>