Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search block: Font size adjusts the size of the button, but not the icon. #58925

Closed
carolinan opened this issue Feb 12, 2024 · 1 comment · Fixed by #59159
Closed

Search block: Font size adjusts the size of the button, but not the icon. #58925

carolinan opened this issue Feb 12, 2024 · 1 comment · Fixed by #59159
Labels
[Block] Search Affects the Search Block - used to display a search field [Type] Bug An existing feature does not function as intended

Comments

@carolinan
Copy link
Contributor

Description

When you set the search block to use the icon on the button, the font size option does not increase the size of the icon.

Step-by-step reproduction instructions

Add a search block.
In the block toolbar, select "Use button with icon".
In the settings panel, under typography, change the font size to something large.

Screenshots, screen recording, code snippet

Search block where the text is larger than the icon in the button.

Environment info

WordPress 6.4.3.

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@carolinan carolinan added [Type] Bug An existing feature does not function as intended [Block] Search Affects the Search Block - used to display a search field labels Feb 12, 2024
@ramonjd
Copy link
Member

ramonjd commented Feb 19, 2024

Not sure about this approach:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Search Affects the Search Block - used to display a search field [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants