Skip to content

Commit

Permalink
Search block: use font size for search icon (#59159)
Browse files Browse the repository at this point in the history
Use `em` for search icon dimensions.

Co-authored-by: ramonjd <ramonopoly@git.wordpress.org>
Co-authored-by: andrewserong <andrewserong@git.wordpress.org>
Co-authored-by: carolinan <poena@git.wordpress.org>
  • Loading branch information
4 people authored and getdave committed Feb 27, 2024
1 parent 63e7727 commit c5eec57
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/block-library/src/search/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ $button-spacing-y: math.div($grid-unit-15, 2); // 6px
svg {
min-width: $grid-unit-30;
min-height: $grid-unit-30;
width: 1.25em;
height: 1.25em;
fill: currentColor;
vertical-align: text-bottom;
}
Expand Down

0 comments on commit c5eec57

Please sign in to comment.