Fix: All canvas widgets should have no container styling applied (#1564)
This commit is contained in:
parent
af5ec1363e
commit
1747390183
|
|
@ -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>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user