diff --git a/packages/edit-site/src/components/post-edit-header/style.scss b/packages/edit-site/src/components/post-edit-header/style.scss deleted file mode 100644 index f34616cc61547..0000000000000 --- a/packages/edit-site/src/components/post-edit-header/style.scss +++ /dev/null @@ -1,9 +0,0 @@ -.edit-site-post-edit-header { - .edit-site-post-edit-header__description { - color: $gray-700; - } - - .edit-site-post-edit-header__title { - @include heading-medium(); - } -} diff --git a/packages/edit-site/src/components/post-edit-header/index.js b/packages/edit-site/src/components/post-edit/header.js similarity index 100% rename from packages/edit-site/src/components/post-edit-header/index.js rename to packages/edit-site/src/components/post-edit/header.js diff --git a/packages/edit-site/src/components/post-edit/index.js b/packages/edit-site/src/components/post-edit/index.js index eb5292ad59b3c..496ec208d3151 100644 --- a/packages/edit-site/src/components/post-edit/index.js +++ b/packages/edit-site/src/components/post-edit/index.js @@ -18,7 +18,7 @@ import { privateApis as editorPrivateApis } from '@wordpress/editor'; * Internal dependencies */ import Page from '../page'; -import PostEditHeader from '../post-edit-header'; +import PostEditHeader from '../post-edit/header'; import { unlock } from '../../lock-unlock'; const { usePostFields } = unlock( editorPrivateApis ); diff --git a/packages/edit-site/src/components/post-edit/style.scss b/packages/edit-site/src/components/post-edit/style.scss index 5688d83df00c5..5a20183c8f021 100644 --- a/packages/edit-site/src/components/post-edit/style.scss +++ b/packages/edit-site/src/components/post-edit/style.scss @@ -14,3 +14,13 @@ padding-top: $grid-unit-20; } } + +.edit-site-post-edit-header { + .edit-site-post-edit-header__description { + color: $gray-700; + } + + .edit-site-post-edit-header__title { + @include heading-medium(); + } +} diff --git a/packages/edit-site/src/style.scss b/packages/edit-site/src/style.scss index 4151b28bba3c0..4269cdb4bc90d 100644 --- a/packages/edit-site/src/style.scss +++ b/packages/edit-site/src/style.scss @@ -28,7 +28,6 @@ @import "./components/style-book/style.scss"; @import "./components/editor-canvas-container/style.scss"; @import "./components/post-edit/style.scss"; -@import "./components/post-edit-header/style.scss"; @import "./components/post-list/style.scss"; @import "./components/resizable-frame/style.scss"; @import "./hooks/push-changes-to-global-styles/style.scss";