close
Skip to content

Admin UI: header container border causing boxy layouts #75428

@simison

Description

@simison

The header component always has a border under it, causing some layouts sometimes look needlessly "boxy" — mainly when the container has tabs which also have full width border, such as "Fonts" page:

Fonts

With border Without border
Screenshot 2026-02-11 at 17 24 03 Screenshot 2026-02-11 at 17 40 01

On containers where the DataViews filters bump directly onto the header, such as Pages with table view, the border makes sense:

Pages

With border Without border
Image Image

When using WP Build and Admin UI components in a plugin, we had more of a mixture scenario (tabs + DataViews filters on the same line):

With border

Image

Without border

Image

Ideas

  • We always remove the border and accept somewhat "floating" outcome for DataViews filters, but less boxy overall. (PR to test with Remove border-bottom from admin-ui page header #75429)

  • We allow injecting tabs (and other content) into the header, similar to Actions, and the Tabs & Header border can collapse into one.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions