Skip to content

Commit

Permalink
Remove inline-block display from image anchor in style.scss (#67368)
Browse files Browse the repository at this point in the history
* Remove inline-block display from image anchor in style.scss

* Refactor: Set image anchor display to inline-block in style.scss

Co-authored-by: yogeshbhutkar <[email protected]>
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: Infinite-Null <[email protected]>
Co-authored-by: hanneslsm <[email protected]>
Co-authored-by: frkly <[email protected]>
  • Loading branch information
6 people authored Dec 2, 2024
1 parent d251f75 commit 2f670d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/block-library/src/image/style.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.wp-block-image {

a {
> a,
> figure > a {
display: inline-block;
}

Expand Down

1 comment on commit 2f670d5

@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 2f670d5.
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/12116901705
📝 Reported issues:

Please sign in to comment.