Skip to content

Commit

Permalink
rebase fix missed isZoomedOutView changes in trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
draganescu authored and scruffian committed Mar 27, 2024
1 parent 7cf6192 commit 85d3814
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/edit-site/src/components/header-edit-mode/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ export default function HeaderEditMode() {

const isFocusMode = FOCUSABLE_ENTITIES.includes( templateType );

const isZoomedOutView = blockEditorMode === 'zoom-out';

const [ isBlockToolsCollapsed, setIsBlockToolsCollapsed ] =
useState( true );

Expand Down Expand Up @@ -187,7 +189,7 @@ export default function HeaderEditMode() {
<div
className={ classnames(
'edit-site-header-edit-mode__preview-options',
{ 'is-zoomed-out': isZoomOutMode }
{ 'is-zoomed-out': isZoomedOutView }
) }
>
<PreviewDropdown
Expand Down

0 comments on commit 85d3814

Please sign in to comment.