Skip to content

Commit

Permalink
Revert "Set image width to fit-content to solve aspect ratio proble…
Browse files Browse the repository at this point in the history
…ms in Firefox. (WordPress#66217)" (WordPress#66804)

Co-authored-by: kevin940726 <[email protected]>
Co-authored-by: ramonjd <[email protected]>
Co-authored-by: mukeshpanchal27 <[email protected]>
Co-authored-by: juanfra <[email protected]>
This reverts commit 0e65adc.
  • Loading branch information
kevin940726 authored and karthick-murugan committed Nov 13, 2024
1 parent 9101b04 commit 8561db1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/block-library/src/image/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8561db1

Please sign in to comment.