From 34bab2ccc86d771e0041a63bf7ec4cd86aa1851b Mon Sep 17 00:00:00 2001 From: Kai Hao Date: Thu, 7 Nov 2024 11:15:18 +0800 Subject: [PATCH] Revert "Set image width to `fit-content` to solve aspect ratio problems in Firefox. (#66217)" This reverts commit 0e65adcbe187797a536aa99f56b063a61cafdc3d. --- packages/block-library/src/image/style.scss | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/block-library/src/image/style.scss b/packages/block-library/src/image/style.scss index 79689e82006cd..1bb19bf29da69 100644 --- a/packages/block-library/src/image/style.scss +++ b/packages/block-library/src/image/style.scss @@ -10,10 +10,6 @@ vertical-align: bottom; box-sizing: border-box; - &:not([src$=".svg"]) { - width: fit-content; - } - @media (prefers-reduced-motion: no-preference) { &.hide { visibility: hidden;