Skip to content

Commit

Permalink
Set image width to fit-content to solve aspect ratio problems in Fi…
Browse files Browse the repository at this point in the history
…refox. (WordPress#66217)
  • Loading branch information
juanfra authored and karthick-murugan committed Nov 13, 2024
1 parent e70b511 commit 6ae6834
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/block-library/src/image/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
max-width: 100%;
vertical-align: bottom;
box-sizing: border-box;
width: fit-content;

@media (prefers-reduced-motion: no-preference) {
&.hide {
Expand Down

0 comments on commit 6ae6834

Please sign in to comment.