From 870fba72d02b50180a4a551a8ba247494c428c8d Mon Sep 17 00:00:00 2001 From: jasmussen Date: Thu, 24 Feb 2022 08:06:55 +0100 Subject: [PATCH] Revert: Image responsive --- packages/block-library/src/common.scss | 9 --------- packages/block-library/src/image/style.scss | 2 ++ 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/packages/block-library/src/common.scss b/packages/block-library/src/common.scss index a40014302b2409..7d2892f57cead9 100644 --- a/packages/block-library/src/common.scss +++ b/packages/block-library/src/common.scss @@ -120,12 +120,3 @@ html :where(.has-border-color) { html :where([style*="border-width"]) { border-style: solid; } - - -/** - * Provide baseline responsiveness for images. - */ -html :where(img) { - height: auto; - max-width: 100%; -} diff --git a/packages/block-library/src/image/style.scss b/packages/block-library/src/image/style.scss index 564cdad7270e2e..6fe336285b8dde 100644 --- a/packages/block-library/src/image/style.scss +++ b/packages/block-library/src/image/style.scss @@ -3,6 +3,8 @@ img { vertical-align: bottom; + height: auto; + max-width: 100%; } &:not(.is-style-rounded) {