Skip to content

Commit

Permalink
Fix site logo preview image size with long filenames (#50242)
Browse files Browse the repository at this point in the history
* Fix site logo preview image size with long filenames

* hardcode width value
  • Loading branch information
ntsekouras authored May 3, 2023
1 parent bf0a21f commit a284c97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/block-library/src/site-logo/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@
}

img {
width: $grid-unit-50 * 0.5;
width: 20px;
min-width: 20px;
aspect-ratio: 1;
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
border-radius: 50% !important;
Expand Down

1 comment on commit a284c97

@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 a284c97.
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/4869632071
📝 Reported issues:

Please sign in to comment.