diff --git a/packages/block-library/src/image/style.scss b/packages/block-library/src/image/style.scss index da4ccc50dac7f..79689e82006cd 100644 --- a/packages/block-library/src/image/style.scss +++ b/packages/block-library/src/image/style.scss @@ -9,7 +9,10 @@ max-width: 100%; vertical-align: bottom; box-sizing: border-box; - width: fit-content; + + &:not([src$=".svg"]) { + width: fit-content; + } @media (prefers-reduced-motion: no-preference) { &.hide {