Skip to content

Commit

Permalink
Fix some weird paddings
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Feb 7, 2023
1 parent b2045b4 commit 3218669
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/edit-site/src/components/layout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,9 @@ export default function Layout() {
( isMobileViewport && isEditorPage && canvasMode === 'edit' ) ||
! isMobileViewport ||
! isEditorPage;
const showFrame = ! isEditorPage || ( ! isMobileViewport && isEditorPage );
const showFrame =
( ! isEditorPage && ! isMobileViewport ) ||
( ! isMobileViewport && isEditorPage && canvasMode === 'view' );
const isFullCanvas =
( isMobileViewport && isListPage ) ||
( isEditorPage && canvasMode === 'edit' );
Expand Down

0 comments on commit 3218669

Please sign in to comment.