fix: remove max width style

This commit is contained in:
chenos 2021-01-08 09:01:33 +08:00
parent 014f9128a5
commit d321b95fb0

View File

@ -74,7 +74,7 @@ export function TextareaField(props: any) {
return null; return null;
} }
if (viewType !== 'table') { if (viewType !== 'table') {
return <div className={'textarea-field-content'} style={{maxWidth: 300}} dangerouslySetInnerHTML={{__html: markdown(value)}}/>; return <div className={'textarea-field-content'} dangerouslySetInnerHTML={{__html: markdown(value)}}/>;
} }
if (value.length > 20) { if (value.length > 20) {
return ( return (