Skip to content

New admin styles are affecting styling of some components #75855

@t-hamano

Description

@t-hamano

As part of a visual refresh of the admin screens, there have been significant changes to the styling of form elements.

https://core.trac.wordpress.org/changeset/61645

These changes appear to have affected some component styles.

For example, the two issues I've identified so far are: We probably need a style to override the core form styles.

cc @WordPress/gutenberg-components @fabiankaegy

FormTokenField

The height is greater than 40px, which is affected by the new line-height value.

Image

SelectControl

The text is misaligned when the size prop is small. This is affected by the new line-height value.

Image

Metadata

Metadata

Assignees

Labels

[Package] Components/packages/components[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

Type

No type
No fields configured for issues without a type.

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions