diff --git a/packages/edit-site/src/components/layout/index.js b/packages/edit-site/src/components/layout/index.js index a4e4fa57a5bbf..e30982c0d28c4 100644 --- a/packages/edit-site/src/components/layout/index.js +++ b/packages/edit-site/src/components/layout/index.js @@ -172,61 +172,61 @@ export default function Layout( { route } ) { - { isMobileViewport && areas.mobile && ( -
- { canvasMode !== 'edit' && ( - - - + + { isMobileViewport && areas.mobile && ( +
+ { canvasMode !== 'edit' && ( + + + + ) } + { areas.mobile } +
+ ) } + + { ! isMobileViewport && + areas.content && + canvasMode !== 'edit' && ( +
+ { areas.content } +
) } - { areas.mobile } -
- ) } - { ! isMobileViewport && - areas.content && - canvasMode !== 'edit' && ( + { ! isMobileViewport && areas.edit && (
- { areas.content } + { areas.edit }
) } - { ! isMobileViewport && areas.edit && ( -
- { areas.edit } -
- ) } - - { ! isMobileViewport && areas.preview && ( -
- { canvasResizer } - { !! canvasSize.width && ( -
- + { ! isMobileViewport && areas.preview && ( +
+ { canvasResizer } + { !! canvasSize.width && ( +
{ areas.preview } - -
- ) } -
- ) } +
+ ) } +
+ ) } +