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 committed Mar 15, 2024
1 parent 7b045c0 commit bb81502
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 bb81502

Please sign in to comment.