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. (#66217)" (#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 Nov 7, 2024
1 parent a0b0e5f commit 88cf9bd
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

1 comment on commit 88cf9bd

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 88cf9bd.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/11716810777
📝 Reported issues:

Please sign in to comment.