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

fix: improve new search setting appearance for WP 6.3 #2167

Merged
merged 1 commit into from
Jul 27, 2023

Conversation

laurelfulford
Copy link
Contributor

All Submissions:

Changes proposed in this Pull Request:

This PR tweaks the appearance of the search block when using the new "button only" display option, coming out in WordPress 6.3.

See 1204989005688794-as-1205128703011548

How to test the changes in this Pull Request:

  1. Start with a test site running the latest WP 6.3 RC.
  2. Create a page and add a search block; change the button position to 'Button Only':

image

  1. View on the front end and click the button; this opens the search. Note that the button and input are a little funky looking, with the button touching in the input, with rounded corners inbetween:

image

  1. Apply the PR and run npm run build
  2. Retest the block in the editor and on the front-end; it's a small change, but the button corners next to the search input should no longer be rounded:

image

Other information:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes, as applicable?
  • Have you successfully ran tests with your changes locally?

@laurelfulford laurelfulford added [Status] Needs Review The issue or pull request needs to be reviewed wp 6.3 labels Jul 24, 2023
@laurelfulford laurelfulford requested a review from a team as a code owner July 24, 2023 22:27
Copy link
Member

@miguelpeixe miguelpeixe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Working as described! 🙌

@github-actions github-actions bot added [Status] Approved The pull request has been reviewed and is ready to merge and removed [Status] Needs Review The issue or pull request needs to be reviewed labels Jul 27, 2023
@laurelfulford
Copy link
Contributor Author

Thanks @miguelpeixe! 🎉

@laurelfulford laurelfulford merged commit a87f7e5 into master Jul 27, 2023
@laurelfulford laurelfulford deleted the fix/search-button-only-styles branch July 27, 2023 15:31
matticbot pushed a commit that referenced this pull request Aug 8, 2023
# [1.77.0-alpha.1](v1.76.0...v1.77.0-alpha.1) (2023-08-08)

### Bug Fixes

* add padding to the file block when it has a background ([#2168](#2168)) ([5a29efa](5a29efa))
* improve new search setting appearance for WP 6.3 ([#2167](#2167)) ([a87f7e5](a87f7e5))

### Features

* add downloads details to checkout ([#2162](#2162)) ([81c52f5](81c52f5))
* add styles for the details block ([#2165](#2165)) ([25832c3](25832c3))
* add styles for the footnote block ([#2166](#2166)) ([22732f5](22732f5))
* add Threads logo to the social links menu ([#2158](#2158)) ([64bf6c1](64bf6c1))
@matticbot
Copy link
Contributor

🎉 This PR is included in version 1.77.0-alpha.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

matticbot pushed a commit that referenced this pull request Aug 8, 2023
# [1.77.0](v1.76.0...v1.77.0) (2023-08-08)

### Bug Fixes

* add padding to the file block when it has a background ([#2168](#2168)) ([5a29efa](5a29efa))
* improve new search setting appearance for WP 6.3 ([#2167](#2167)) ([a87f7e5](a87f7e5))

### Features

* add downloads details to checkout ([#2162](#2162)) ([81c52f5](81c52f5))
* add styles for the details block ([#2165](#2165)) ([25832c3](25832c3))
* add styles for the footnote block ([#2166](#2166)) ([22732f5](22732f5))
* add Threads logo to the social links menu ([#2158](#2158)) ([64bf6c1](64bf6c1))
@matticbot
Copy link
Contributor

🎉 This PR is included in version 1.77.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released on @alpha released [Status] Approved The pull request has been reviewed and is ready to merge wp 6.3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants