Skip to content

Commit a284c97

Browse files
authored
Fix site logo preview image size with long filenames (#50242)
* Fix site logo preview image size with long filenames * hardcode width value
1 parent bf0a21f commit a284c97

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/block-library/src/site-logo/editor.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,8 @@
138138
}
139139

140140
img {
141-
width: $grid-unit-50 * 0.5;
141+
width: 20px;
142+
min-width: 20px;
142143
aspect-ratio: 1;
143144
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
144145
border-radius: 50% !important;

0 commit comments

Comments
 (0)