Skip to content

Commit

Permalink
Tweak the frame colors
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Apr 12, 2021
1 parent a3a5ac7 commit b3ff8bc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default function useResizeCanvas(
maxHeight: height,
overflowY: 'auto',
borderRadius: '2px',
boxShadow: '0 1px 3px rgba(0, 0, 0, 0.4)',
border: '1px solid #ddd',
};
default:
return null;
Expand Down
2 changes: 1 addition & 1 deletion packages/edit-post/src/components/layout/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
}

.edit-post-layout .interface-interface-skeleton__content {
background-color: $gray-400;
background-color: $gray-100;
}

.edit-post-layout__inserter-panel {
Expand Down
2 changes: 1 addition & 1 deletion packages/edit-post/src/components/visual-editor/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

.editor-styles-wrapper {
border-radius: 2px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
border: 1px solid $gray-300;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/edit-post/src/store/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ export function isSavingMetaBoxes( state ) {
* @return {string} Device type.
*/
export function __experimentalGetPreviewDeviceType( state ) {
return state.deviceType;
return state.isEditingTemplate ? 'Desktop' : state.deviceType;
}

/**
Expand Down

0 comments on commit b3ff8bc

Please sign in to comment.