File tree Expand file tree Collapse file tree 2 files changed +3
-12
lines changed
Expand file tree Collapse file tree 2 files changed +3
-12
lines changed Original file line number Diff line number Diff line change 1- /**
2- * External dependencies
3- */
4- import clsx from 'clsx' ;
5-
61/**
72 * WordPress dependencies
83 */
@@ -92,11 +87,7 @@ function Header( {
9287 // The edit-post-header classname is only kept for backward compatibilty
9388 // as some plugins might be relying on its presence.
9489 return (
95- < div
96- className = { clsx ( 'editor-header edit-post-header' , {
97- 'has-center' : hasCenter ,
98- } ) }
99- >
90+ < div className = "editor-header edit-post-header" >
10091 { hasBackButton && (
10192 < motion . div
10293 className = "editor-header__back-button"
Original file line number Diff line number Diff line change 44 display : grid ;
55 grid-auto-flow : row ;
66 grid-template : auto / $header-height minmax (0 , max-content ) minmax (min-content , 1fr ) $header-height ;
7- & . has-center {
7+ & : has( > .editor-header__center ) {
88 grid-template : auto / $header-height min-content 1fr min-content $header-height ;
99 @include break-medium {
1010 grid-template : auto / $header-height minmax (min-content , 1fr ) 2fr minmax (min-content , 1fr ) $header-height ;
9898
9999.editor-header__settings {
100100 grid-column : 3 / -1 ;
101- .has-center & {
101+ .editor-header : has( > .editor-header__center ) & {
102102 grid-column : 4 / -1 ;
103103 }
104104 justify-self : end ;
You can’t perform that action at this time.
0 commit comments