-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New admin styles are affecting styling of some components #75855
Copy link
Copy link
Closed
Labels
[Package] Components/packages/components/packages/components[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
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.
SelectControl
The text is misaligned when the size prop is small. This is affected by the new line-height value.

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Package] Components/packages/components/packages/components[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
✅ Done