Skip to content

Commit

Permalink
Toggle classname for inserter
Browse files Browse the repository at this point in the history
  • Loading branch information
colorful-tones committed Dec 15, 2023
1 parent e9d5dc4 commit 95f0a72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/edit-post/src/components/layout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ function Layout() {

const className = classnames( 'edit-post-layout', 'is-mode-' + mode, {
'is-sidebar-opened': sidebarIsOpened,
'is-inserter-opened': isInserterOpened,
'has-metaboxes': hasActiveMetaboxes,
'is-distraction-free': isDistractionFree && isWideViewport,
'is-entity-save-view-open': !! entitiesSavedStatesCallback,
Expand Down
1 change: 1 addition & 0 deletions packages/edit-site/src/components/editor/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ export default function Editor( { listViewToggleElement, isLoading } ) {
'edit-site-editor__interface-skeleton',
{
'show-icon-labels': showIconLabels,
'is-inserter-opened': isInserterOpen,
}
) }
notices={ <EditorSnackbars /> }
Expand Down

0 comments on commit 95f0a72

Please sign in to comment.