Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fixed

AdminPage: fix header-height tab-shift rule not matching after admin-ui 2.1 changed the page header element from header to div
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@
// row's items so a shorter control neither stretches nor collapses it.
// The content row is identified by the visual logo slot it contains
// (`aria-hidden="true"`), so a breadcrumbs-only header isn't affected.
:global(.jp-admin-page__page > header > div:has([aria-hidden="true"])) {
// `> :first-child` targets the page header positionally (a `<div>` in
// admin-ui ≥ 2.1, a `<header>` in 2.0) — matching the sibling rules above.
:global(.jp-admin-page__page > :first-child > div:has([aria-hidden="true"])) {
min-height: 40px;
align-items: center;
}
Expand Down
Loading