Skip to content

Commit

Permalink
Zoom out: Move the toggle button to before the device preview dropdown (
Browse files Browse the repository at this point in the history
WordPress#65446)

Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: getdave <get_dave@git.wordpress.org>
Co-authored-by: MaggieCabrera <onemaggie@git.wordpress.org>
Co-authored-by: draganescu <andraganescu@git.wordpress.org>
Co-authored-by: afercia <afercia@git.wordpress.org>
  • Loading branch information
6 people authored Sep 25, 2024
1 parent d21a2d1 commit 7b50715
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/editor/src/components/header/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ function Header( {
*/
<PostSavedState forceIsDirty={ forceIsDirty } />
) }

{ isEditorIframed && isWideViewport && <ZoomOutToggle /> }

<PreviewDropdown
forceIsAutosaveable={ forceIsDirty }
disabled={ isNestedEntity }
Expand All @@ -144,8 +147,6 @@ function Header( {
/>
<PostViewLink />

{ isEditorIframed && isWideViewport && <ZoomOutToggle /> }

{ ( isWideViewport || ! showIconLabels ) && (
<PinnedItems.Slot scope="core" />
) }
Expand Down

0 comments on commit 7b50715

Please sign in to comment.