Skip to content

Block-editor Components: Many components do not provide their own fieldset resets #70684

@andrewserong

Description

@andrewserong

While playing around with a bunch of the block editor components, I noticed that many of them don't include reset styles for the fieldset element, and instead expect that common.css's resets will always be available. After chatting about it with @youknowriad, there was the suggestion to update the block editor components with the missing resets, so that they can be responsible for their own needs.

For example, if we switch off or bypass some of the admin CSS we can see that the spacing controls' fieldset displays unexpected borders:

Image

Components to check or update

Metadata

Metadata

Assignees

Labels

[Package] Block editor/packages/block-editor[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions