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 and bph committed May 3, 2023
1 parent e1113e5 commit fe2949b
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

0 comments on commit fe2949b

Please sign in to comment.