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 having issue with the width when align-left and align-right is choosen. #68179

Open
2 of 6 tasks
NidhiDhandhukiya74 opened this issue Dec 20, 2024 · 2 comments
Open
2 of 6 tasks
Labels
[Type] Bug An existing feature does not function as intended

Comments

@NidhiDhandhukiya74
Copy link

Description

When we choose search block and choose align-left or align-right option and apply width 25% or 50% it is both looking same there is no difference even if the 25% and 50% choosen it looks same in both.

Step-by-step reproduction instructions

  1. Choose Search block.
  2. Apply Alignment align-left or align-right.
  3. Choose width 50% and see the difference.
  4. Now choose width 25% and see the changes.

You can able to see there is no difference in 25% or 50%.

Screenshots, screen recording, code snippet

No response

Environment info

  • Wordpress Version 6.7.1
  • Tested in themes Twenty Twenty one and Twenty Twenty Four.

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
@NidhiDhandhukiya74 NidhiDhandhukiya74 added the [Type] Bug An existing feature does not function as intended label Dec 20, 2024
@Anuj-Rathore24
Copy link

I can confirm that this bug is reproducible,

Screen.Recording.2024-12-20.at.4.10.49.PM.mov

Version
Gutenberg: 19.9.0

@Anuj-Rathore24
Copy link

Anuj-Rathore24 commented Dec 22, 2024

Hey @NidhiDhandhukiya74,

This seems to be an intentional feature, as the minimum width was predefined four years ago. However, it can be adjusted by modifying the min-width value, though this change would require design feedback 🙇, as altering it without careful consideration could impact other design elements🤔.

Screen.Recording.2024-12-22.at.11.40.52.AM.mov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

2 participants