diff --git a/packages/block-editor/src/components/link-control/style.scss b/packages/block-editor/src/components/link-control/style.scss index b97745b72c4e2f..8883af42ee2ca6 100644 --- a/packages/block-editor/src/components/link-control/style.scss +++ b/packages/block-editor/src/components/link-control/style.scss @@ -297,9 +297,9 @@ $preview-image-height: 140px; img { display: block; // remove unwanted space below image - max-width: 100%; - height: $preview-image-height; // limit height - max-height: $preview-image-height; // limit height + width: 100%; + height: 100%; + object-fit: contain; } } }