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. (#66217)
  • Loading branch information
juanfra authored and gutenbergplugin committed Oct 22, 2024
1 parent 0cab30f commit f73c2cc
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 f73c2cc

Please sign in to comment.