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

Styles of Search block button are breaking. #66871

Closed
3 of 6 tasks
snehapatil2001 opened this issue Nov 8, 2024 · 1 comment
Closed
3 of 6 tasks

Styles of Search block button are breaking. #66871

snehapatil2001 opened this issue Nov 8, 2024 · 1 comment
Labels
[Block] Search Affects the Search Block - used to display a search field [Type] Bug An existing feature does not function as intended

Comments

@snehapatil2001
Copy link
Contributor

Description

Related issue: #66852

I found some more errors related to the above issue on the mobile screen, as shown in the video below.

Bugs:

  • View the editor side, the text is overlapping in the mobile screen.
  • View the frontend side, the text is not centered.

Step-by-step reproduction instructions

  1. Type / to choose a block
  2. Select search block
  3. Change its button position using "Change Button position" setting to "Button only"
  4. Change block button width from "Setting" to 25%
  5. Save the changes and publish the page.
  6. View the editor side in mobile screen size, the text is overlapping.
  7. View the frontend side in mobile screen size, the text is not centered.

Screenshots, screen recording, code snippet

search-block.mov

Environment info

WordPress version: 6.8-alpha-59366
Theme: Twenty Twenty-Five Version: 1.0
Device:** MacBook Air M2
Gutenberg plugin: Version 19.6.0

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

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure
@snehapatil2001 snehapatil2001 added the [Type] Bug An existing feature does not function as intended label Nov 8, 2024
@Mamaduka Mamaduka added the [Block] Search Affects the Search Block - used to display a search field label Nov 13, 2024
@gziolo
Copy link
Member

gziolo commented Nov 22, 2024

Fixed with #66868.

@gziolo gziolo closed this as completed Nov 22, 2024
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

No branches or pull requests

3 participants