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: Border radius is not applied (via global styles) #51617

Open
hanneslsm opened this issue Jun 18, 2023 · 2 comments
Open

Search: Border radius is not applied (via global styles) #51617

hanneslsm opened this issue Jun 18, 2023 · 2 comments
Labels
[Block] Search Affects the Search Block - used to display a search field [Type] Bug An existing feature does not function as intended

Comments

@hanneslsm
Copy link

Description

see below

Step-by-step reproduction instructions

  1. Insert Search Block
  2. Apply a border radius
  3. Only when the "button only" option is used, the border radius is applied

Screenshots, screen recording, code snippet

Screen.Recording.2023-06-18.at.10.03.50.mp4

Environment info

  • WP 6.2.2
  • GB 16

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

@hanneslsm

This comment was marked as off-topic.

@t-hamano t-hamano added the [Block] Search Affects the Search Block - used to display a search field label Jun 19, 2023
@t-hamano
Copy link
Contributor

@hanneslsm

Thanks for the report. I think the root cause of this problem is that when styles are applied from the block toolbar and global styles, the border is applied to different elements.

Block Setting Apply via the block toolbar Apply via the global styles
Button outside block-button-outside global-button-outside
Button inside block-button-inside global-button-inside
No button block-no-button global-no-button
Button Only block-button-only global-button-only

I think this is a bug, so I will assign a label.

@t-hamano t-hamano added the [Type] Bug An existing feature does not function as intended label Jun 19, 2023
@hanneslsm hanneslsm changed the title Search: Border radius is not applied Search: Border radius is not applied (via global styles) Sep 17, 2023
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

2 participants