Open carolinan opened 5 months ago
Thanks so much for bringing this over. Not adding this to the 6.5.x board considering this was present in 6.4.3.
Hi @carolinan I have raised a PR for this issue. I found that the search block's CSS in the editor sets a minimum width of 220px to maintain styling integrity. Extending this to the frontend addresses the issue. Please let me know if it needs improvement.
Thanks!
Description
Originally reported on WordPress Trac: https://core.trac.wordpress.org/ticket/60775
Step-by-step reproduction instructions
Activate Twenty Twenty theme. Choose Search block. Give Width in px. Now check both the side editor and front.
Screenshots, screen recording, code snippet
No response
Environment info
WordPress 6.43, 6.5, 6.6 alpha.
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