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: Style variation #42296

Open
MaggieCabrera opened this issue Jul 10, 2022 · 1 comment
Open

Search Block: Style variation #42296

MaggieCabrera opened this issue Jul 10, 2022 · 1 comment
Labels
[Block] Search Affects the Search Block - used to display a search field [Type] Enhancement A suggestion for improvement.

Comments

@MaggieCabrera
Copy link
Contributor

It's a common pattern to have the button be next to the input like in the screenshot. We could have a block style that implements this.

Screenshot 2022-07-10 at 17 40 18

@MaggieCabrera MaggieCabrera moved this to Issues Created in Ignite Build a Theme Jul 10, 2022
@kathrynwp kathrynwp added [Type] Enhancement A suggestion for improvement. [Block] Search Affects the Search Block - used to display a search field labels Jul 11, 2022
@t-hamano
Copy link
Contributor

The search block has an option to set whether the button is placed inside or outside.
(However, the element markup does not change, just the wp-block-search__button-{outside/inside} class name...)

Would this solve what you are proposing ?
If not so, please let me know what you think.

search-block

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] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

3 participants