From 51e9978208d26645b5930492c2177abdc3048220 Mon Sep 17 00:00:00 2001 From: Kai Hao Date: Thu, 7 Nov 2024 12:50:42 +0800 Subject: [PATCH] Revert "Set image width to `fit-content` to solve aspect ratio problems in Firefox. (#66217)" (#66804) Co-authored-by: kevin940726 Co-authored-by: ramonjd Co-authored-by: mukeshpanchal27 Co-authored-by: juanfra This reverts commit 0e65adcbe187797a536aa99f56b063a61cafdc3d. --- packages/block-library/src/image/style.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/block-library/src/image/style.scss b/packages/block-library/src/image/style.scss index da4ccc50dac7f1..1bb19bf29da691 100644 --- a/packages/block-library/src/image/style.scss +++ b/packages/block-library/src/image/style.scss @@ -9,7 +9,6 @@ max-width: 100%; vertical-align: bottom; box-sizing: border-box; - width: fit-content; @media (prefers-reduced-motion: no-preference) { &.hide {