diff --git a/packages/block-library/src/image/editor.scss b/packages/block-library/src/image/editor.scss index a7386205d9108a..f27432819f2fc8 100644 --- a/packages/block-library/src/image/editor.scss +++ b/packages/block-library/src/image/editor.scss @@ -59,6 +59,9 @@ figure.wp-block-image:not(.wp-block) { width: inherit; height: inherit; } + + max-width: inherit !important; + max-height: inherit !important; } .block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal { diff --git a/packages/block-library/src/image/style.scss b/packages/block-library/src/image/style.scss index 9ba2cae4f3b88b..117045f7dce627 100644 --- a/packages/block-library/src/image/style.scss +++ b/packages/block-library/src/image/style.scss @@ -123,11 +123,6 @@ border-radius: 0; } } - - .components-resizable-box__container { - max-width: inherit !important; - max-height: inherit !important; - } } // Variations