Fix: All canvas widgets should have no container styling applied (#1564)

This commit is contained in:
Abhinav Jha 2020-11-04 18:58:21 +05:30 committed by GitHub
parent af5ec1363e
commit 1747390183
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,13 +24,14 @@ class CanvasWidget extends ContainerWidget {
}
renderAsDropTarget() {
const canvasProps = this.getCanvasProps();
return (
<DropTargetComponent
{...this.getCanvasProps()}
{...canvasProps}
{...this.getSnapSpaces()}
minHeight={this.props.minHeight || 380}
>
{this.renderAsContainerComponent(this.props)}
{this.renderAsContainerComponent(canvasProps)}
</DropTargetComponent>
);
}