Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

The rounded corners of the search input field are not being applied in editor. #670

Closed
torounit opened this issue Nov 6, 2024 · 2 comments
Labels
[Type] Bug An existing feature does not function as intended.

Comments

@torounit
Copy link
Member

torounit commented Nov 6, 2024

Description

The input[type=search] selector in wp-admin/css/forms.min.css overrides the CSS, resulting in a border-radius: 4px.

Step-by-step reproduction instructions

  1. Go to Site Editor.
  2. Add Search Block.

Expected behavior

border-radius: 3.125rem is applied.

Screenshots

editor

Image

view

Image

Environment info

WordPress 6.7 RC3

Additional context

@torounit torounit added the [Type] Bug An existing feature does not function as intended. label Nov 6, 2024
@carolinan
Copy link
Contributor

Hi
I believe this is the same issue that is reported here? WordPress/gutenberg#66115

CSS specificity issues where the editor overrides either theme.json or user settings, needs to be opened in the Gutenberg GitHub repository, because they need to be fixed in the editor, not the themes.

@carolinan
Copy link
Contributor

I am not able to reproduce this unless I first change the theme style variation, so since I have not heard anything else, I am going to assume that this is a duplicate of the issue I linked in the last comment, and I will close this.

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

No branches or pull requests

2 participants